Recent content by mbolhi

  1. M

    The number in more than 3 decimal places ?

    thansk, well I am quite novice any reference or link would be much appreciated thanks for ur help ;)
  2. M

    The number in more than 3 decimal places ?

    thnaks but am a bit confused as to how to use this command ? lf in front of the number? show me teh xyntax please. thanks
  3. M

    The number in more than 3 decimal places ?

    hello, How could I make my answer display the number in more than 3 decimal places? for example Variable U = 0.026283623901941 instead of U = 0.02628 which command to use? thanks for ur help!
  4. M

    How can I fix syntax errors in my C code?

    here is my code and thanks for your help in advance! double theta, A1, A2, phi, C, A0, L ; theta = 1; A0 = 0.7; L = 0.160; C = sqrt(A0*A0 + L*L); phi = atan(A0/L); //************************************************************************** if (C*C + L*L -...
  5. M

    How can I fix syntax errors in my C code?

    well, i am quite novice and i have some error i need to debug in C code can you help me please? thanks
  6. M

    How can I fix syntax errors in my C code?

    Hi all, I am learning C language in S-Function Simulink does anyone prgram in C? I need help please Thanks
  7. M

    MATLAB How Can I Model sin(wt) in MATLAB?

    Thanks for your help, but I actually use MATLAB not simulink (from which I take only SFunctions)
  8. M

    MATLAB How Can I Model sin(wt) in MATLAB?

    Thansk for your help dude, in my problem that I need to solve: the sin(w*t) is the input (excitation) to a dynamical system. this latter is described by a second order ODE as follows: dy(1) = y(2); dy(2) = - B1*U1/m - B2*U2/m + g + C_x/m * y(2) ; where U1 and U2 are the...
  9. M

    MATLAB How Can I Model sin(wt) in MATLAB?

    Hello all, I am a beginenr and I need help as to how to model sin(wt) in matlab? how could i define the variale t ? I would liek to have cases for different frequencies where w = 2* PI * f and f is teh freuqency of excitation... thanks for your help
Back
Top