Feeds
質問
Trying to do a quad on the positions in a vector
I try to do it like this: syms x RR = [x.^2 x.^3 x]; q = quad(@(x)RR(1),0,2); disp(q) But when I run it it gives me t...
14年以上 前 | 2 件の回答 | 1
2
回答質問
How to use trapz and cumtrapz
I'm having problems understanding how to use trapz. Lets say I have this code: quad(@(x)myfun,-2,2) Were myfun is a function...
14年以上 前 | 3 件の回答 | 0
3
回答質問
Problem with integrals
I have a integral that simplified looks like this: quad(@(z) exp(z.^2),-2,x) The problem here is quite obvious. You can'...
14年以上 前 | 1 件の回答 | 1
1
回答回答済み
Sending parameters to a function
Oops, I'm new to this site and I will try to be more clear in my questions. Thank you for pointing it out. If I write my functi...
Sending parameters to a function
Oops, I'm new to this site and I will try to be more clear in my questions. Thank you for pointing it out. If I write my functi...
14年以上 前 | 0
質問
Sending parameters to a function
I have a function that looks like this: function ci = cifun(y,T,TM,TMO,G2,A,b,x,Epsi,ny,Vc,c2,D2,Q) syms G2;syms T;syms TM...
14年以上 前 | 2 件の回答 | 0
2
回答回答済み
Problems with quad
When I do as you wrote: Wi2 = matlabFunction(Wifun, {'y' 'T' 'TM' 'TMO' 'G2' 'A' 'b' 'x' 'Epsi' 'ny'}) fun = @(y) Wi2(y,T,...
Problems with quad
When I do as you wrote: Wi2 = matlabFunction(Wifun, {'y' 'T' 'TM' 'TMO' 'G2' 'A' 'b' 'x' 'Epsi' 'ny'}) fun = @(y) Wi2(y,T,...
14年以上 前 | 0
回答済み
Problems with quad
When trying matlabfunction() I get another problem. Wi2 = matlabFunction(Wifun) Produces the following: Wi2 = ...
Problems with quad
When trying matlabfunction() I get another problem. Wi2 = matlabFunction(Wifun) Produces the following: Wi2 = ...
14年以上 前 | 0
質問
Problems with quad
I'm trying to get a numerical value from a function using quad. In a separate .m-file I got a function looking like this: fun...
14年以上 前 | 3 件の回答 | 0
3
回答回答済み
Matlab gives me a formula when i want a value
What's the difference between subs and eval? And why do you use double and what exactly does double do?
Matlab gives me a formula when i want a value
What's the difference between subs and eval? And why do you use double and what exactly does double do?
14年以上 前 | 3
質問
Matlab gives me a formula when i want a value
I'm trying to get Matlab to show me a value instead of a formula. I use this code: clc; clear; y = 0.000000000258; T =...
14年以上 前 | 3 件の回答 | 3
3
回答回答済み
Plotting a complicated funtion
Then I must have gone about the problem the wrong way. I'm trying to plot a variable against another with the help of a series o...
Plotting a complicated funtion
Then I must have gone about the problem the wrong way. I'm trying to plot a variable against another with the help of a series o...
14年以上 前 | 0
質問
Plotting a complicated funtion
The task I have to accomplish is to plot this funtion: xi=A*z*exp(-B*(1/C+y^2)-D*y*Z)*integral between -infinity and y of: ex...
14年以上 前 | 2 件の回答 | 0
