dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12
  1. #1
    Join Date
    Jan 2005
    Posts
    56

    Matlab Help Forum

    Hi all,

    Does any1 know any Matlab help forum ? I'm in desperate need of help in Matlab Simulink.

    cheers

  2. #2
    Join Date
    Jul 2005
    Posts
    767

    Re: Matlab Help Forum

    You are in the wrong place to ask...anyway as I know Matlab official forum is the best place to visit.

  3. #3
    Join Date
    May 2006
    Posts
    3

    Re: Matlab Help Forum

    My personal favorite is http://www.kluid.com its a really good site for Matlab help, check if they are back on. Mathworks is also a good one.

    Quote Originally Posted by pc_newbies
    Hi all,

    Does any1 know any Matlab help forum ? I'm in desperate need of help in Matlab Simulink.

    cheers

  4. #4
    Join Date
    Jun 2014
    Posts
    0

    Re: Matlab Help Forum

    Can anyone tell what is wrong with this code.... thanks in advance.../\

    clc
    clear all
    syms Rx2 Rx3 tt2 Ry2 Ry3 tt3 Rx4 Ry4 tt4 %symbolic representation
    a=input('l1 l2 l3 l4 []');
    l1=a(1,1);
    l2=a(1,2);
    l3=a(1,3);
    l4=a(1,4);

    w=input('enter the value of angular velocity'); %input the angular velocity
    t=0; %time
    iterationvalues=zeros(9,100);
    delta=zeros(9,1); %initialise the matrix as zeros
    final=zeros(9,1);
    initial=[1.1 0.7 (30*pi)/180 5.5 1.9 (353*pi)/180 6.6 1.1 (330*pi)/180]';%initial from solidworks
    for i=1:1:1000 %i from 1 to 100


    Cn=[ Rx2-(l2/2)*cos(tt2); %constraints
    Ry2-(l2/2)*sin(tt2);
    tt2-w*t-(30*pi)/180;
    Rx2-Rx3+(l2/2)*cos(tt2)+(l3/2)*cos(tt3);
    Ry2-Ry3+(l2/2)*sin(tt2)+(l3/2)*sin(tt3);
    Rx3-Rx4+(l3/2)*cos(tt3)+(l4/2)*cos(tt4);
    Ry3-Ry4+(l3/2)*sin(tt3)+(l4/2)*sin(tt4);
    Rx4-l1+(l4/2)*cos(tt4);
    Ry4+(l4/2)*sin(tt4);
    ];


    Cq=jacobian(Cn,[Rx2 Ry2 tt2 Rx3 Ry3 tt3 Rx4 Ry4 tt4]);%symbolic jacobian
    Cq=subs(Cq,{Rx2 Ry2 tt2 Rx3 Ry3 tt3 Rx4 Ry4 tt4},initial'); %substitute into jacobian
    Cn=subs(Cn,{Rx2 Ry2 tt2 Rx3 Ry3 tt3 Rx4 Ry4 tt4},initial');%substitute into constraints
    delta=-(Cq\Cn); %find the delta matrix

    %if(norm(anse)>1e6) %breaking condition for divergence
    %break;
    %end
    final=initial+delta; %values for next iteration
    iterationvalues(:,i)=final;

    initial=final;
    end
    display(delta)
    display(final);

  5. #5
    Join Date
    Aug 2014
    Posts
    0

    Lightbulb Re: Matlab Help Forum

    In the following link you can find an interesting piece of code to calculate easily the elastic response spectra, shock spectra, etc. of a given acceleration time-history of an earthquake. Apart from this, with the Elastic Response Spectrum (ERS) function you can perform dynamic response spectrum analysis of single or multi degree of freedom (SDOF or MDOF) structures. Enjoy!

    http://www.mathworks.com/matlabcentr...sponse-spectra

    Regards,
    George Papazafeiropoulos

  6. #6
    Join Date
    Sep 2014
    Posts
    0

    Re: Matlab Help Forum

    You should find lots of valuable code on the official website of mathworks. If you are still stuck i have used a website homeworkhelponline.net, im not sure if they are trusted, but did the work for me.

  7. #7
    Join Date
    Mar 2015
    Posts
    0

    Re: Matlab Help Forum

    Hi all,
    Can you help me about connection matlab mobile with computer ? I tried I did all things but I am taking this message "Could not connect to the server" how can I solve this problem?

  8. #8
    Join Date
    Apr 2015
    Posts
    0

    Re: Matlab Help Forum

    Dear friends
    does any one help me in this problem
    how can i create matlab code for charge simulation method of electric fields

  9. #9
    Join Date
    May 2015
    Posts
    0

    Re: Matlab Help Forum

    Hi,

    I have a database with monthly yields for 17 maturities (91 observations) and I want to perform a forecast of the yield curve for 1m ahead through a Random Walk model. I would be very grateful if someone could help me with the code for this.

    Thank you in advance!

  10. #10
    Join Date
    Nov 2015
    Posts
    0

    Re: Matlab Help Forum

    Hi all

    Someone uses the box PDE Matlab 2015?
    It create charts, but I not found the calculated data... The program offers this data?

    thanks

  11. #11
    Join Date
    Mar 2018
    Posts
    0

    Re: Matlab Help Forum

    This code has no problems
    You must define the variable a as a 1*4 matrix.
    The time to run the calculation is high and you have to wait.
    clc
    clear all
    syms Rx2 Rx3 tt2 Ry2 Ry3 tt3 Rx4 Ry4 tt4 %symbolic representation
    % a=input('l1 l2 l3 l4 []');
    a=[1 2 3 4];
    l1=a(1,1);
    l2=a(1,2);
    l3=a(1,3);
    l4=a(1,4);

    w=input('enter the value of angular velocity'); %input the angular velocity
    t=0; %time
    iterationvalues=zeros(9,100);
    delta=zeros(9,1); %initialise the matrix as zeros
    final=zeros(9,1);
    initial=[1.1 0.7 (30*pi)/180 5.5 1.9 (353*pi)/180 6.6 1.1 (330*pi)/180]';%initial from solidworks
    for i=1:1:1000 %i from 1 to 100


    Cn=[ Rx2-(l2/2)*cos(tt2); %constraints
    Ry2-(l2/2)*sin(tt2);
    tt2-w*t-(30*pi)/180;
    Rx2-Rx3+(l2/2)*cos(tt2)+(l3/2)*cos(tt3);
    Ry2-Ry3+(l2/2)*sin(tt2)+(l3/2)*sin(tt3);
    Rx3-Rx4+(l3/2)*cos(tt3)+(l4/2)*cos(tt4);
    Ry3-Ry4+(l3/2)*sin(tt3)+(l4/2)*sin(tt4);
    Rx4-l1+(l4/2)*cos(tt4);
    Ry4+(l4/2)*sin(tt4);
    ];


    Cq=jacobian(Cn,[Rx2 Ry2 tt2 Rx3 Ry3 tt3 Rx4 Ry4 tt4]);%symbolic jacobian
    Cq=subs(Cq,{Rx2 Ry2 tt2 Rx3 Ry3 tt3 Rx4 Ry4 tt4},initial'); %substitute into jacobian
    Cn=subs(Cn,{Rx2 Ry2 tt2 Rx3 Ry3 tt3 Rx4 Ry4 tt4},initial');%substitute into constraints
    delta=-(Cq\Cn); %find the delta matrix

    %if(norm(anse)>1e6) %breaking condition for divergence
    %break;
    %end
    final=initial+delta; %values for next iteration
    iterationvalues(:,i)=final;

    initial=final;
    i
    end
    display(delta)
    display(final);

    support by پروژه متلب

  12. #12
    Join Date
    Apr 2018
    Location
    Nashville
    Posts
    0

    Re: Matlab Help Forum

    I think here you can find an exhaustive amount of resources that can help you in matters related to MATLAB. In addition to the official forum MathWorks, there are also threads on Reddit and questions on Stack Overflow. On Reddit is very active discussion, so there you can find a lot of useful info. Also, if you need to get professional help, you can contact the specialists and check your assignments in order to get a feedback.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)