a. Using Matlab scripts create the following matrices (???1 and
???2)
???1 = [
3 2 −3 6 7 4 3 −6 7
], ???2 = [
2 1 7 3 3 9 −6 6 1
]
b. Write code to add the second row of ???1 to the third row of
???2 and store results in the first row of ???1.
c. Write code to add the second column of ???1 with the third
column of ???2 and...
Create a program using Java.
Create two different 3D arrays with random numbers. (lets name
them array1 and array 2)
Add the two 3Darrays together and then get the average.
Save the average on a separate 3D array.(lets name it
array3)
Then add array1 and array3 then get the average
Save the average on a separate 3Darray(lets name it array 4)
Then add array2 and array3 then get the average
Save the average on a separate 3Darray (lets name it...
A) Create two vectors in R3 ( 3D vectors) such that they are
orthogonal.
b) Using the two vectors from a) above, determine the cross
product of the two vectors
c)Is it possible to write the vector [0,0,1] using scalar
multiples of these vectors?
In
this lab, you will learn how to create shell scripts using the
Bourne Shell Scripting language. The student will have to do
research on the Bourne Shell Scripting language and then writ a
script that asks the First Name , Last Name, Age, and Country of
origin of the student and then print out these items in a statement
Then the students will write a 3 to 4-page paper (not including the
title and references pages) describing how the...
MATLAB is program
Respond fast please a quiz
Create a MATLAB script.
Using nested for loops, evaluate the multivariable function:
z = sin ( x ) cos ( y )
for
x between -4 and 4 in steps of 1
y between -2 and 2 in steps of 1
Display the matrix z
Cut and paste the following into a word doc and submit to this
question.
Your script code
Your input
Your output
** USING MATLAB TO PROGRAM
The main objective of this lab is to create a game that involves
betting on the sum of two dice. The player will start out with some
initial total amount of money. During each round, the player can
bet some money that the sum of the two dice will be equal to a
certain number. If the player wins the bet, that player adds the
amount of the bet to his or her current total....
Using Matlab functions ‘fdesign’ and ‘design’, create the
following filters (do not forget to create an m file to write a
script that should be printed in your report). [0.5] a-c each
(a) Low pass Hamming and low pass Hann filters, with cut off
frequency Fc=300 Hz, sampling frequency Fs=2000 Hz, filter order
N=100. Plot both filters on the same graph and use legend in the
figure to mark each filter. Comment on the figure.
(b) Low pass Hamming filter...
Find five (5) different preserved foods in your fridge and/or
cupboard that represent five (5) different types of food
preservation. Provide a picture of that product and briefly discuss
what methods were employed to maintain product freshness and
safety/hygiene. Please make sure you have a mix of both physical
and chemical preservation methods
Create the following 3D plot in boxed format using MAPLE.
Include a title and the code for the plot in the same page.
-A pair of concentric cylinders about the z axis, with a height
of 7.
Create the following 3D plot in boxed format using MAPLE.
Include a title and the code for the plot in the same page.
-3 spheres of radius 5 centered at (0,-8,0) , (0,8,0) and
(0,0,0)