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
