Community Profile

Alberto Mora

Last seen: 4 days ago
72 total contributions since 2017

View details...

Contributions in
View by

Question

How to specify correctly abs and relative tolerances on bvpset
Hello, I am working on a differential equation problem, and I want to reduce the tolerances (relative and absolute), in order t...

8 days ago | 0 answers | 0

0

Submitted

Simscape Flexible Beam Stress (BeamStressLib)
Improved "General Flexible Beam" of Simscape, that compute von-Mises stress at beam ends for rectangular beams.

How can I fix my plots?
Hello, few notes: Please, insert the code as TEXT (in the proper 'code' format), not as an image, otherwise it is difficult to ...

1 month ago | 0

How can I improve Simscape flexible beam results like FEM results
I developed a Simscape library for estimate Von-Mises stress of beams. Have fun!

2 months ago | 0

| accepted

Output shows an 'ans=', I don't know where did i go wrong
Suppress output the function when you call it, like follow: bday_calc; % add the ; symbol

2 months ago | 0

| accepted

Add text description to point of a selected subplot
Just point to the first subplot using simply: subplot(2,1,1); text(x,y,'my text here') % EDIT: This method does not work, see ...

2 months ago | 0

| accepted

Process raw data using lowpass filter
You are confusing the filter coefficient with the raw signal. Try this: [b,a] = butter(order,fcut/(fs/2),'low'); sig_a_filt =...

2 months ago | 0

| accepted

Question

How to specify correct fontsize of text according to plot boundary coordinates
I create a generic plot in matlab. Then I want to create a text into the plot. The text must have a exact size (length in x dire...

2 months ago | 1 answer | 0

1

How to model a peltier cell on simulink ?
Two solutions: Refer to scientific papers and built your own thermal model Have a look to the buil-in MATLAB model using the p...

4 months ago | 0

Question

Recognition of colored percentage of a white paper using Image Processing
Hello, I want to estimate the percentage of the following image (see attachment), where there are different colors and intensit...

5 months ago | 1 answer | 0

1

Question

Code_Aster interface for MATLAB
Does someone developed a tool interface for Code_Aster (or Salome-Meca) open source FEM software with MATLAB?

8 months ago | 0 answers | 0

0

Question

Linearize error simulink model in Matlab function (cannot linearize abs())
I want to linearize a simulink model that use a MATLAB Function. Inside the MATLAB function I apply abs(x) and this create a fa...

10 months ago | 0 answers | 0

0

Question

Linearize Simulink model simultaneously on signal with multiple channels
I want to linearize a Simulink model for a given input and a given output from MATLAB script, using linearize and linio command....

10 months ago | 0 answers | 0

0

Question

How to visualize a Structural Reduced Order model (Superelement) from PDE library
I created a SuperElement (strucural Reduced Order Model from PDE toolbox), and now I want to use it as follow: Attach one super...

10 months ago | 0 answers | 0

0

Compute Craig Bampton model reduction using structural PDE toolbox of MATLAB (FEM SuperElements - Component Mode Synthesis)
It seems that with the 2020a release, Mathworks introduced the superelements! You can find the documentation here. If you have...

10 months ago | 0

| accepted

Error using DynamicSystem/lsim
Please, do not use symbolic variables for the time array. t=0:0.01:10; H=tf(4,[5 5]); vi=(10.*(sin(10*t))).*(t<=18); v0=lsim...

10 months ago | 2

| accepted

Question

Differences between "Moist air" and "Gas" library of Simscape
Hello, assuming that I set the gas constant equal to the air constant (in order to adopt air properties in "Gas" library), what...

10 months ago | 1 answer | 0

1

How can I filtrate recorded time acceleration signal with 4th order Butterworth low pass filter ??
If you sampled the signal at 200Hz it is useless adopt a low-passfilter at 100Hz since 100Hz is already the maximum bandwidth th...

10 months ago | 0

| accepted

Question

How to compute partial derivative for Lookup table in Simulink
Hello, I have a 2D look-up table in simulink, let's say for example z=f(x,y). How can I compute the partial derivative of such...

10 months ago | 0 answers | 0

0

Differences between "Constraint Force" and "Total Force" of Weld Joint
As far as I understood, in this specific case are exactly the same.

10 months ago | 0

| accepted

Declare variables from Matlab function workspace to Simulink worskpace
At the end I found the solution to "send" the variables from the function workspace to the simulink workspace. ModelName='NameO...

11 months ago | 0

| accepted

Modify colobar values into a Function: error "Attempt to extract field 'YTick' from 'mxArray'"
Partially solved. Instead of call the colorbar and then modify it, I do it toghedar as follow: colorbar('Ticks',ValForColorbar,...

11 months ago | 0

| accepted

Phase difference removal by using Filtering, butterworth, filtfilt command
I think that you just need to do: Fs = 500; fcutlow = 6; % low cut frequency in Hz fcuthigh = 14; % high cut freq...

11 months ago | 0

| accepted

Question

Modify colobar values into a Function: error "Attempt to extract field 'YTick' from 'mxArray'"
Hi, into a Matlab Function in Simulink environment I want to modify the value shown by a colorbar (adding min and max values ...

11 months ago | 1 answer | 0

1

Question

Colorbar not supported in Simulink "MATLAB function" surf plot
I have a custom surf plot written into a "MATLAB function" in simulink environment and I add the 'colorbar' in the plot to see t...

11 months ago | 1 answer | 0

1

Question

How can I improve Simscape flexible beam results like FEM results
Hello, I want to improve the results of "Simscape Mechanics Explorer". In particular: I want to magnify small displacements of...

11 months ago | 1 answer | 0

1

Question

Enable and Disable input/output subsystem's ports in Simulink
Hello, I created a subsystem with a mask with multiple "checkbox". The mask is used to interact with the subsystem (e.g. set co...

11 months ago | 1 answer | 0

1

Question

If Action Block that create a stairstep signal in simulink
Hello, I have two questions: I use a If Block to "cut" the signal and not perform some operations (not depicted below). Is it ...

11 months ago | 1 answer | 0

1

Question

Run Matlab FUNCTION at the end of Simulink simulation
Hello, in a simulink simulation I compute some signals. At the end of the simulation, when the system reach the steady-state c...

11 months ago | 1 answer | 1

1

Question

Problem of color interpolation of surf plot
Hello, I notice problems with color intepolation using surf plot. There is a similar problem described here, but I can't modif...

11 months ago | 1 answer | 0