 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  Reply With Quote

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.  Reply With Quote

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  Reply With Quote

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);  Reply With Quote

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  Reply With Quote

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.  Reply With Quote

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?  Reply With Quote

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  Reply With Quote

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.  Reply With Quote

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  Reply With Quote

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 پروژه متلب  Reply With Quote

12. ## 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.  Reply With Quote

13. Junior Member Join Date
Dec 2018
Posts
0

## Re: Matlab Help Forum

hello everyone,
I need to plot recieved power as a function of distance but i cant get the correct answer. may any one help me?
here is the equation: r=[-1.3772 - 0.3563i -0.7217 + 0.1599i -0.6364 + 0.1913i -1.4569 - 0.4529i]
d=[204.2084 202.5438 200.1599 204.2084]
can anyone help me pleas?
what is the code for this?
i write a lot of code for that but all of them was wrong.  Reply With Quote

14. ## Re: Matlab Help Forum Originally Posted by nima770 hello everyone,
I need to plot recieved power as a function of distance but i cant get the correct answer. may any one help me?
here is the equation: r=[-1.3772 - 0.3563i -0.7217 + 0.1599i -0.6364 + 0.1913i -1.4569 - 0.4529i]
d=[204.2084 202.5438 200.1599 204.2084]
can anyone help me pleas?
what is the code for this?
i write a lot of code for that but all of them was wrong.
See post #12 for ideas on getting Matlab help.  Reply With Quote

15. Junior Member Join Date
Feb 2019
Posts
0

## Re: Matlab Help Forum Originally Posted by cointer 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 jungle gym, you can contact the specialists and check your assignments in order to get a feedback.
Wow, many thanks, really useful links.
Can you clarify what is your acc on Reddit?  Reply With Quote

#### Posting Permissions

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