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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 2 réponses | 0

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 7 ans il y a | 2 réponses | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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 7 ans il y a | 1 réponse | 0

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

environ 7 ans il y a | 1 réponse | 0

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

environ 7 ans il y a | 1 réponse | 0