Feeds
提问
Plotting for a wide range of values and Log-Log Scale
Hello! Here is my code, for dt = 1:10 x=5; x_arr=[]; x_arr(1)=x; for i=1:10/dt xnew=x*dt; ...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to run a loop with different values and plot the result?
Hello, Here is my code, clear; clc; x=5; Difference=[]; x_arr=[]; x_arr(1)=x; dt=1; for i=1:10/dt xn...
5 years 前 | 1 个回答 | 0
1
个回答已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
6 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
6 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
6 years 前