|
| Hi there!
I am a novice user in Matlab. The problem I am facing is that I have
a complicated model with complex numbers (impedances etc.). The end
result is reached by a number of substitutions from the previously
calculated expressions. In a nutshell, it forms a really long chain
of expressions.
Under these circumstances I want to integrate the final expression
with respect to single variable (frequency). How do I do that?
There is no easy way that I can express this expression as Matlab
help says:
function y = myfun(x)
y = 1./(x.^3-2*x-5);
Q = quad(@myfun,0,2)
It won't be easy to express this expression in terms of the frequency
alone.....
Any tips? After all, all I am asking Matlab to do is to plot this
expression vs. frequency and then calculate the area under the
curve.... but I am stuck.... :(
With best regards,
Taji
Sorry for a repeated msg ! If u wanna contact me, remove 'aAa' in my
address n replace hutmail by hotmail. Cheers ;o)
|
|