Feeds
提问
a program that allows the user to enter his or her year in school
Create a program that prompts the user to enter his or her year in school freshman,sophomore,junior, or senior. The in...
11 years 前 | 2 个回答 | 0
2
个回答提问
n term series using For loop
n=input('enter a value n:'); s=0; k=1; for k=<n s=s+k; k=k+1; end I was trying to change my while loop for th...
11 years 前 | 2 个回答 | 0
2
个回答提问
How do I add a title to each subplot?
I have the following codes delta=[-2*pi:0.063:2*pi]; y=sin(delta); subplot(3,2,1) plot(y) y=cos(delta); subplot(3,2,2) pl...
11 years 前 | 3 个回答 | 5
3
个回答提问
function of time,velocity and acceleration
the position x as a function of time of a particle that moves along a straight line is given >>>x(t)=0.4*t^4+10.8*t^3...
11 years 前 | 3 个回答 | 1
3
个回答提问
population growth for this problem matlab
The population of a certain country is 50 million and is expected to double in 20 years. Calculate the population 5, 10, and 15...
12 years 前 | 0 个回答 | 0
0
个回答提问
vector elements and exponential
Show that lim n -->inf (1+1/n)^n=e Do this by first creating a vector n that has the elements: 1 10 100 500 1000 2000 4000 ...
12 years 前 | 1 个回答 | 0
1
个回答提问
Eye command with a matrix
Use the eye command to create the array A shown on the left below. Then use the colon to address elements in the arrays and...
12 years 前 | 0 个回答 | 0
0
个回答提问
row vector with 15 elements
I need to create a row vector with 15 equally spaced elements in which the first element is 7 and the last element is 40. I al...
12 years 前 | 1 个回答 | 1
1
个回答提问
Write a function named LONG that will use two argument vectors and return the argument vector that has the longer length
I need to Write a function named LONGER that will use two argument vectors and return the argument vector that has the long...
12 years 前 | 2 个回答 | 0
2
个回答提问
find the values of a that are between 2 and 6(inclusive)
A>> 7.24 0.80 *7.31* *9.24* *3.09* 1.06 0.06 *8.97* *1.37* *0.55* 8.67 8.88 *9.92* *0.71* *0.90* 3.45 ...
12 years 前 | 2 个回答 | 0
2
个回答提问
longest wet and dry spell of the matrix
I have the following matrix a= [99 99 0.100 0.120 0 0.500 0; 0 0 0 0 0.150 0.120 0; 0...
12 years 前 | 1 个回答 | 0
1
个回答提问
calculate the average for each column
I have a matrix called d= [99 99 0.100 0.120 0 0.500 0; 0 0 0 0 0.150 0.120 0; 0.110 0....
12 years 前 | 1 个回答 | 1
1
个回答提问
I have to add the values that are inside the matrix called s
s= [... 99 99 0.100 0.120 0 0.500 0; 0 0 0 0 0.150 0.120 0; 0.110 0.010 0.010 0 0 0.300 0.100; ...
12 years 前 | 1 个回答 | 0
1
个回答提问
Write MatLab commands to find the index of the max value in the bold area of A
I also need to find find the index of the maximum value in the bold area of A. A>> 7.24 0.80 *7.31* *9.24* *3.09* ...
12 years 前 | 2 个回答 | 0
2
个回答提问
MatLab command that will return a matrix that contains the product of every element in two vectors of any length
For example V1 = [10, 20, 30] V2 = [2, 3, 6] and the return should be something like ANS = [20, 40, 60...
12 years 前 | 2 个回答 | 0