답변 있음
Compatibility issue with Unit delay block R2012b
Hello Rajesh, please contact us via <http://www.mathworks.com/support/contact_us/ Tech Support> .

12년 초과 전 | 0

답변 있음
How can I avoid Algebraic loops In these equations
Hello Anuj, see <http://www.mathworks.de/matlabcentral/answers/34478-is-this-the-way-to-solve-algebraic-loops>.

12년 초과 전 | 0

답변 있음
how to give input for functions
Hello Shobi, code looks fine. Make sure to save the two functions in one function file (called myFunc.m). Then execute the two f...

12년 초과 전 | 0

| 수락됨

답변 있음
Why I got dirac
Hello John, the "why" is pretty easy: in the transfer function you have a contstant term (0.0904..). This constant term produces...

12년 초과 전 | 1

| 수락됨

답변 있음
Compare MATLAB and SIMULINK?
Hello Rageeni, are you asking about the difference between MATLAB and Simulink or the coders? In general, if you need to gen...

12년 초과 전 | 0

| 수락됨

답변 있음
How to show Simulink animation
Hello Robert, are you talking about SimMechanics? The box is still in Simulation > Model Configuration Parameters in the SimMech...

12년 초과 전 | 0

답변 있음
How to assign the difference of system input and the states in the input matrix?
Based on your problem description I am not quite sure what you want to achieve. I assume you are trying to set up a typical feed...

12년 초과 전 | 0

답변 있음
How do i convert from Complex numbers(a+bi) to a polar form(r,theta) ?
Hello Pradeep, use <http://www.mathworks.com/help/matlab/ref/cart2pol.html>. You can also find the reverse transformation there....

12년 초과 전 | 8

답변 있음
Constucting an array in column form
Use |c = linspace(17, 289, 19)| This results in 19 data points, including the two end points, 17 and 289. To switch betwee...

12년 초과 전 | 0

답변 있음
Solve a second order differential equation with ODE45
Hello Peter, there are a couple of issues: * It looks like you want to use |if| rather than |for| statements to execute eithe...

12년 초과 전 | 0

| 수락됨

답변 있음
How to find fixed points in nonlinear differential equations?
Hello Michael, by definition the state derivate at a fixed point is equal to the zero vector. In your case that means |x'= 0| an...

12년 초과 전 | 1

| 수락됨

답변 있음
Comparing 2 Matrices Element By Element
Use the |max| function. Try: A = rand(3); B = rand(3); C = max(A,B)

12년 초과 전 | 0

| 수락됨

답변 있음
ODE use : how to integrate a very short action in the model ?
Hello Jean-Marie, the most robust and accurate approach is to integrate in intervals, say from |[0 1]| , |[1 2]| , |[2 5]| , etc...

12년 초과 전 | 1

| 수락됨

답변 있음
parfor and nested loop
Hello huda, there are *no nested* |parfor| loops. Parallelization with |parfor| only works on the *outermost* loop.

12년 초과 전 | 1

답변 있음
how can I change the distance between the axis and their title?
Hello Mohammad, see <http://www.mathworks.de/matlabcentral/answers/112824#answer_121330>.

12년 초과 전 | 0

| 수락됨

답변 있음
How to solve the block error in the simulink model?
There are a couple of things you might want to consider: * Is the system unstable (by design)? Therefore, does it need to be ...

12년 초과 전 | 1

| 수락됨

답변 있음
ilaplace confusing - result from command window and from m file gui is not the same
Hello John, it is actually the same. Try plotting the two results. The reason you get complex numbers is because of Euler's f...

12년 초과 전 | 1

| 수락됨

답변 있음
How to substract months with EOM respect ?
Hello Paul, there is no function out of the box that does that, as far as I know. You could use the |<http://www.mathworks.com/h...

12년 초과 전 | 0

답변 있음
Hot to set fields from one GUI to another
Hello Lorenzo, check out <http://www.mathworks.de/matlabcentral/answers/338#answer_462 this> answer.

12년 초과 전 | 1

| 수락됨

답변 있음
how to do it
Use |x = linspace(24.94, 27.30, 266)|

12년 초과 전 | 0

| 수락됨

답변 있음
how to control the cart position in the inverted pendulum?
There are a couple of questions in your post. Essentially, when you are deriving the linearized equations of motion (EOM) you...

12년 초과 전 | 1

| 수락됨

답변 있음
how to accomplish the adddata function in plottools ?
Hello Roger, simply push the button. A window will open, asking you to choose |X Data Source| and |Y Data Source|. These need to...

12년 초과 전 | 0

| 수락됨

답변 있음
Quiver does not show any arrows
You need to use |quiver(squeeze(uv(1,:,:)),squeeze(uv(2,:,:)))| to turn the 1x251x251 object |uv(1,:,:)| into a 251x251 ma...

12년 초과 전 | 1

답변 있음
proble in using "solve function
Have you assigned a numeric value for |d| ? syms L D d = 1; [L D] = solve(L*(D-d)==0.1386,L/(D-d)==3.6,'Real',true) ...

12년 초과 전 | 0

답변 있음
I have been asked to plot 3d contours of radius,circumferential angles(CA) in degress and total circumferential pressure (cptot) in this format shown in picture using matlab. I know in rectangular grids. How to do it for this type
Hello Rizwana, this question seems to be related to your <http://www.mathworks.de/matlabcentral/answers/112958-is-it-possible-to...

12년 초과 전 | 0

답변 있음
Is it possible to plot a contour plot not in rectangular coordinate? I can see only rectangular coordinates examples. Can i change the coordinates of rectangular plot
Try File Exchange, e.g., <http://www.mathworks.de/matlabcentral/fileexchange/8585-3d-plot-on-a-spherical-surface>.

12년 초과 전 | 0

답변 있음
Solving System of Linear Equations with matrix operations
Typically, |x = A \ b| works well. Make sure |b| is a column vector. Try: A = rand(3); b = [1; 2; 3]; x = A \ b;

12년 초과 전 | 0

| 수락됨

답변 있음
solving a set of first order differential equations in simulink
Hello Pouya, there is a way: use an embedded MATLAB function to define the differential equations, say |Xdot = f(X)|, where |X| ...

12년 초과 전 | 0

답변 있음
matrix 9x9 with duplicate values
This should do. For a 3x3 matrix, as an example: A = [1 3 2; 4 5 1; 3 1 1] A_unique = unique(tril(A, -1)); ...

12년 초과 전 | 0

답변 있음
how to track a moving object in a live camera
Hello Sivakumaran, check out <http://blogs.mathworks.com/videos/2012/03/09/maltab-2012a-face-recognition/> and <http://www.mathw...

12년 초과 전 | 0

| 수락됨

더 보기