Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need Some Help.

  1. Dec 23, 2008 #1
    Hi guys. I need some help. I need to get the graph on this script but i could find the way to process the graph. theres syntax error on the solution:

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

    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))

    please help me to look on it. i tried using matlab and comsol script. looks like it doesnt work.
     
  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?
Draft saved Draft deleted