Britney
Followers: 0 Following: 0
Just a girl that loves chemistry. Professional Interests: Chemistry for life<3
Feeds
提问
I have a for loop code to calculate matrix multiplication. What is missing?
I want to create a code that calculates y=A*x for two matrices. I wrote a code from how a school book suggested and I'm stuck an...
10 years 前 | 1 个回答 | 0
1
个回答提问
What do the constants h,c and k do to the function??
figure('Name','Black Body','Menu','none','NumberTitle','on','Position',[500 100 350 450]) set(gcf,'Color',[0.6 1.0 1.0]) ...
10 years 前 | 1 个回答 | 0
1
个回答已回答
What does the value s do in my code??
Is that it goes from -10 to -1 from xv=linspace(xa, -s) ? But why not from -10 to -2? That has to be equated to axis...
What does the value s do in my code??
Is that it goes from -10 to -1 from xv=linspace(xa, -s) ? But why not from -10 to -2? That has to be equated to axis...
10 years 前 | 0
提问
What does the value s do in my code??
clear clf f=@(x)((x.^2)-1)./((x.^2)-4); xa=-10; xb=-2; s=1; ya=-5; yb=5; xv=linspace(xa, -s); xh=linspace(s ,x...
10 years 前 | 3 个回答 | 0
3
个回答提问
Solved the graph. Drawed the function. How to plot the x solution marked with a ring...
Okay, I feel stupid for asking this question but it has annoyed me to far. I have drawn a graph and solved the f(x)=0 and I k...
10 years 前 | 1 个回答 | 0
1
个回答提问
Drawing a graph from a rational function. What is the problem in my code?
I want to draw the graph of function f(x)=x^2-1/x^2-4 This is my code: clear clf f=@(x)((x.^2)-1)./((x.^2)-4); xa=-10;...
10 years 前 | 3 个回答 | 0
3
个回答提问
Why is the answer in my command window multiplying every time I press run??
So I got the correct code..I think but when I press run the answer first showed up as x2 and when I pressed run the answer showe...
10 years 前 | 0 个回答 | 0
0
个回答提问
How to plot a linear approximation next to a function?
Hey, I have a function f=@(x)0.5*(x-2).^2-2*cos(2*x)-1.5; And I want next to the function f(x) to plot: f(-1)+f'(...
10 years 前 | 1 个回答 | 0
1
个回答提问
What is wrong with my code for the bisection method!!?
So I have this code I need too use on my a function. I have made m. function file with the function I want to calculate. ...
10 years 前 | 1 个回答 | 0
1
个回答提问
Create a help text that shows in command window. How to??
Hey guys, So how to you create a help text for a function so that when you write in the command window help my_function a te...
10 years 前 | 2 个回答 | 0
2
个回答提问
What is wrong with my code for the bisection method?
x=my_bisect(@(x)x-2.5).*exp(-0.5*(x-2).^2)+0.2;[-1,0],1e-5) a=I(-1); b=I(0); msg=sprintf('invalid choice of...
10 years 前 | 1 个回答 | 0
1
个回答提问
how do you multiply f(-1)*f(0) in matlab?
Hey guys, Annoying problem...but I'm new to matlab. I have a function f=@(x)(x-2.5).*exp(-0.5)*(x-2).^2)+0.2. I want to c...
10 years 前 | 1 个回答 | 0
1
个回答提问
The variabel 'total' seems to change size on every loop....-A while loop problem
I can't see what the problem is with my while loop. I'm trying to write a while loop to calculate a converging serie. I want the...
11 years 前 | 1 个回答 | 0
1
个回答提问
How to use a function file in a 'for loop'?
I'm supposed to write a function of a polygon "train". It's several dots on a graph that are connected with lines between. I get...
11 years 前 | 0 个回答 | 0
0
个回答提问
Undefined function 'Games' for input arguments of type 'double'. What am I doing wrong?
So I'm supposed to describe a function and I'm getting it all wrong. Can anyone see the problem? *function file.* funct...
11 years 前 | 1 个回答 | 0