Matlab Help Forum
 CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

1. Member
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. Member +
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. Junior Member
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.

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. Junior Member
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. Junior Member
Join Date
Aug 2014
Posts
0

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. Junior Member
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. Junior Member
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. Junior Member
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. Junior Member
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.

10. Junior Member
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. Junior Member
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 پروژه متلب

Posting Permissions

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