Feeds
提问
what is the difference between axis normal, axis square, axis equal, and axis tight?
what is the difference between axis normal, axis square, axis equal, and axis tight?
9 years 前 | 1 个回答 | 0
1
个回答提问
How do you print data from the command window without a script? Do I need a script to print that information?
I'm trying to print an 'fprint' display in the command window, but whenever I publish it, the script is the only thing being pri...
9 years 前 | 0 个回答 | 0
0
个回答提问
using ideal gas law (v = RT/P), develop a matrix that contains the specific volume f or an ideal gas for which the rows indicate values of T from 200K to 1000K in increments of 200K, and the colunms indicate the values of p from 1 atm to 5 atm...
...in increments of 1 atm. R = .08206; T = [200:200:1000]; p = [1:5]'; v = (R.*T)/p What is wrong
9 years 前 | 1 个回答 | 0
1
个回答提问
What code would you input to represent the equation for the volume of a sphere without getting an undefined variable error?
V=(4*pi*r^3)/3
9 years 前 | 3 个回答 | 0
3
个回答提问
i'm trying to create an if loop so that I can run my program starting with x=1 and increasing by 1 to x =3.
The conditions are as follows: if x=2, f=Inf if x=>2, f=NaN otherwise run the function, f=log(5/2-x) x2 = 0; ...
9 years 前 | 0 个回答 | 0
0
个回答提问
How do I compute the geometrical mean given the data: 92.3, 93.2, 91.9, 93.5, 92.7, 93.1, 93.8, 92.4
D5=[92.3 93.2 91.9 93.5 92.7 93.1 93.8 92.4]; n=length(D5); geometric_mean=0 for q=1:n; z=D5(q); geomet...
9 years 前 | 1 个回答 | 0
1
个回答提问
How do I define a variable without assigning it a value?
I just want to define a variable, f without assigning any values to it so I can use it in an equation.
9 years 前 | 6 个回答 | 4
6
个回答提问
How to produce an 'if else' loop with an x starting at 1 and increasing to 3 by 1 at each end of the loop
x = [1:1:3]; if x == 2; f2 = inf elseif x > 2; f2 = NaN else f2 = log(5/2-x) end I'm trying to inp...
9 years 前 | 1 个回答 | 0
1
个回答提问
What did I do wrong with my code to get this "^" error?
I input an equation as y=((x^2)*sin(x))/exp(x) and defined x as x=logspace(0,6,7); in the script. When I run it, i get a message...
9 years 前 | 1 个回答 | 0
