Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
Non-scor...
6 years 前
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
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 前
已回答 Need help with the 'Area' function!
LineStyle refers to the style of line around the area. So if you set LineStyle to 'none', then you'll not get any line around th...
已回答 pkg load image won't load
You can't add packages like this in MATLAB. This answer will help you in that. Just drop the first line and your code just works...
已回答 sum with odd n+k
I am assuming that "" is scalar and hence taking it as "r", but that shouldn't matter for this question. Also please initialize ...
6 years 前 | 0
| 已接受
已回答 Plotting data within while loop,help
You can use "drawnow" if you want to plot data in each iteration of while loop.
w = 25.5; E = 50*10^3;I = 30*10^3; L = 600;
dy...