Recent content by rsc42

  1. R

    MATLAB Solving MATLAB Problems with R1, RF, R2 and w Variables

    Here's what worked for me just now on MATLAB 7.14: >>a=real(collect(3*R1*w*(RF + 200)/((R2*w*29*i + 3)*(3*R1*w - 2*i)))) >>b=imag(collect(3*R1*w*(RF + 200)/((R2*w*29*i + 3)*(3*R1*w - 2*i))))
  2. R

    MATLAB Matlab: Numerical integration of a multivariable symbolic function

    FTR, I did figure out a very simple way to do it but at the cost of keeping y and z as symbolics. I created nested for-loops which let's me calculate the integral with quad for each pair of y and z values I'm interested in. This happens to work for me now but if anyone comes up with a better...
  3. R

    MATLAB What is the best wayto teach myself Matlab

    I'm having to do the same thing. I own several Matlab intros and references but the only one I've found really helped is Rudra Pratap's Getting Started with MATLAB. I used it to get the hang of arrays and basic operations. Once you have the basics, you can teach yourself and the rest kind of...
  4. R

    MATLAB Matlab ode45 referencing past value

    Could you post some equations to clarify?
  5. R

    MATLAB Solving MATLAB Problems with R1, RF, R2 and w Variables

    Have you tried >>vpa(your expression) or >>simplify(collect(your expression,i))? The first will condense all your constants if they're given numerically, whereas the second will organize your symbolic expressions into coefficients of 1 and i (i.e. a and b). Hope that helps. Rebekah
  6. R

    MATLAB Matlab: Numerical integration of a multivariable symbolic function

    I have a symbolic function of three variables which I'm trying to numerically integrate wrt a single variable. Consider (syms x y a) and the function f(x,y,z). Here are some things I've tried, without success: 1. >>int(f(x,y,z),x,a,b) which analytically integrates f wrt x from a to b but...
Back
Top