Réponse apportée
Compatibility issue with Unit delay block R2012b
Hello Rajesh, please contact us via <http://www.mathworks.com/support/contact_us/ Tech Support> .

plus de 12 ans il y a | 0

Réponse apportée
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>.

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
How to show Simulink animation
Hello Robert, are you talking about SimMechanics? The box is still in Simulation > Model Configuration Parameters in the SimMech...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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....

plus de 12 ans il y a | 8

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
Comparing 2 Matrices Element By Element
Use the |max| function. Try: A = rand(3); B = rand(3); C = max(A,B)

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
parfor and nested loop
Hello huda, there are *no nested* |parfor| loops. Parallelization with |parfor| only works on the *outermost* loop.

plus de 12 ans il y a | 1

Réponse apportée
how can I change the distance between the axis and their title?
Hello Mohammad, see <http://www.mathworks.de/matlabcentral/answers/112824#answer_121330>.

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
Hot to set fields from one GUI to another
Hello Lorenzo, check out <http://www.mathworks.de/matlabcentral/answers/338#answer_462 this> answer.

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
how to do it
Use |x = linspace(24.94, 27.30, 266)|

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 1

Réponse apportée
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) ...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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>.

plus de 12 ans il y a | 0

Réponse apportée
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;

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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| ...

plus de 12 ans il y a | 0

Réponse apportée
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)); ...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Charger plus