1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Contrust a graph using Comsol Script.

  1. Dec 24, 2008 #1
    1. The problem statement, all variables and given/known data
    Construct a simulink model of the extended system that fully represents it. Hint: If KST tends towards infinity the new model should be the same as the old provided the mass of the car body is unchanged.

    M = 1200;
    KST = 15000000;
    MH = 60;
    Kv = 3.2e+004


    2. Relevant equations
    If u need the diagram of the soultion kindly pm me with ur email. i email to u.



    3. The attempt at a solution

    A = [0 1 0 0 ; (-Ks+KST)/MH -Kv/MH -Ks/MH Kv/MH; 0 0 0 1; Ks/M Kv/M -Ks/M -Kv/M];
    B= [0 0; KST/MH -1/MH; 0 0; 0 1/M];
    C = [1 0 0 0; 0 0 1 0; 0 1 0 0; 0 0 0 1];
    D = [0 0; 0 0; 0 0; 0 0];
    Ss1 = ss(A, B, C, D);
    T = [0:0.01:10]';
    S1 = zeros(size(T));
    S2 = 3000*ones(size(T));
    U1 = sig(S1, T);
    U2 = sig(S2, T);
    simulate(Ss1,(U1, U2))


    The problem is, i couldn;t get the graph of it. I tried using matlab and comsol script. Looks like theres an snytax error. Please help.
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?



Similar Discussions: Contrust a graph using Comsol Script.
Loading...