Question


How can i correct this error ?
Hi My problem is about a three node cantilever beam. I do a program that estimate the mass and stiffness matrix. c is an ...

plus de 7 ans il y a | 1 réponse | 0

0

réponse

Question


Why is the array content displayed different from its input ?
Hi When i display this array : pl =[1 1 10.5e+10 3.4e-01 9e+03]; with the instruction disp(pl) The result disp...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


How to transform a mass matrix de dim 12*12 into 6*6 ?
Hi I want to do a model of FEM of a cantilever beam divided into two element (Three node) . I have a part of program that e...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


how to solve this error ?
Hi I have this function then m and k are an input matrices having dimension (12,12) but an error message is displayed lik...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to supress a warning message ?
Hi When i open matlab i have this warning message : Function max has the same name as a MATLAB builtin. We suggest you renam...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


What's the alternative of ode45 function ?
Hi, i have done this function to resolve a second order differential equation but i want to fix the time as a constant equal to ...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How can i plot the magnitude of displacement ?
Hi, i want to plot the magnitude of displacement x(:,1) and i have this program but the curve displacement =f(rload) mentioned i...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to draw the magnitude of displacement ?
Hi, i want to plot the magnitude of tip displacement x(:,1) in function of rload but i obtain zeros. I don't know where is the p...

presque 8 ans il y a | 1 réponse | 0

0

réponse

Question


How can i plot the response of function as a vector ?
Hi, To resolve a secon order differential equation i do this function , but i have a problem when i want to plot xdot. ...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


how to plot the magnitude of a vector ?
i have a curve ([0:20:50000],x(:,3)) I want to calculate the magnitude of this curve, but i obtain zero. Th curve is attache ...

presque 8 ans il y a | 1 réponse | 0

0

réponse

Question


How can i display a vector as a result of a for loop ?
I have thi loop for and i want to display the mmk but i can't for rload=0:20:50000 v = -x(:,3)*rload; mn =(max(v)-min(v))...

presque 8 ans il y a | 2 réponses | 0

2

réponses

Question


how can i calculate the rms of a vector ?
my problem consist to calculate the rms of v using for loop. But this for loop display vrms as zeros for i=1:2500 vs=sum...

presque 8 ans il y a | 2 réponses | 0

2

réponses

Question


How can i display a vector as a result of a for loop ?
I have this for loop and i want to display the vector of mn. But this program display me only the last value of mn : for...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to get rid of the error: Error using horzcat. Dimensions of matrices being concatenated are not consistent.
Hi When i solve a second order differential equation with constant coefficients, i obtained a solution. But when i change the...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to get rid of the error: Error using horzcat. Dimensions of matrices being concatenated are not consistent.
Hi When i solve a second order differential equation with constant coefficients, i obtained a solution. But when i change these...

presque 8 ans il y a | 1 réponse | 0

0

réponse

Question


How to solve an equation of motion with the ode solver when the spring constant and the mass are dependent on the mode shapes of the solution of the equation of motion
Hi To resolve a second order differential equation with mass M and the spring constant K are dependent on the mode shapes, i n...

presque 8 ans il y a | 1 réponse | 0

0

réponse

Question


How to solve an equation of motion with the ode solver when the spring constant and the mass are dependent on the mode shapes of the solution of the equation of motion
Hi To resolve a second order differential equation with mass M and the spring constant K are dependent on the mode shapes, i n...

presque 8 ans il y a | 1 réponse | 0

0

réponse

Question


How do I fix the error Function definitions are not permitted at the prompt or in scripts.
Hello, Whenever I create a function on matlab, an error message appears as follows: Error: Function definitions are not...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How can i solve this function below ?
To solve a second order differential equation : dx/dt = Ax + Bu(t) I use this function but i haven't obtain any result : f...

presque 8 ans il y a | 1 réponse | 0

1

réponse