Question

Call function written in the same script using F9

Hello, let assume this simple code with a custom routine at the end of the code: a = 0:0.01:100; b = sin(0:0.01:100); RMSE_r...

6 Monate ago | 0 answers | 0

Question

How to extract component of vector from a struct with fields across each field

It is more clear if I show you my specific case (see image below). Let's assume that I created my struct variable called "Datab...

8 Monate ago | 1 answer | 0

Answered

Import data with column separated with a comma, and comma as decimal place symbol

I developed the following code, reading and modifying the comma and other symbol in the text. fid = fopen([PathAndFileName,'.cs...

Import data with column separated with a comma, and comma as decimal place symbol

I developed the following code, reading and modifying the comma and other symbol in the text. fid = fopen([PathAndFileName,'.cs...

etwa ein Jahr ago | 0

| accepted

Question

Import data with column separated with a comma, and comma as decimal place symbol

Hello I want to import a .csv data file with comma both for decimal place symbol and as system for divide the column, see below...

etwa ein Jahr ago | 2 answers | 0

Question

Pick points with Data Cursor in a graph with animatedline

I want to use the Data Cursor in a graph that I created using "animatedline", but it is not possible since I cannot select the p...

mehr als ein Jahr ago | 0 answers | 0

Question

Display in command window an ordained long list of data with headers

Hi, I am measuring some sensors, and for this reason I plot in a figure the signals. Every second I want also to display in th...

mehr als ein Jahr ago | 0 answers | 0

Answered

How to write x-axis for plot?

Hi, try: xlabel('write here you text'); Regards

How to write x-axis for plot?

Hi, try: xlabel('write here you text'); Regards

mehr als ein Jahr ago | 0

Answered

Adding an element during each iteration of the loop at the end of an existing array

Try this: function Res = MacLaurin(a,n) % Program to calculate MacLaurin expression % calculating factorial for the expressio...

Adding an element during each iteration of the loop at the end of an existing array

Try this: function Res = MacLaurin(a,n) % Program to calculate MacLaurin expression % calculating factorial for the expressio...

mehr als ein Jahr ago | 1

| accepted

Answered

How can I convert air pressure / time data to an audio file?

Before ask on the comunity, I think that is better have a look on google. Anyhow, here is the answer. If this solution works, ...

How can I convert air pressure / time data to an audio file?

Before ask on the comunity, I think that is better have a look on google. Anyhow, here is the answer. If this solution works, ...

mehr als ein Jahr ago | 0

Answered

Maximum sampling frequency of ANALOG INPUT through Arduino UNO

Dear Valentin, I notice the same problem, and I'm also looking for a solution. At the moment I have adopted the follow approach...

Maximum sampling frequency of ANALOG INPUT through Arduino UNO

Dear Valentin, I notice the same problem, and I'm also looking for a solution. At the moment I have adopted the follow approach...

mehr als ein Jahr ago | 0

Answered

Increasing sampling rate with ardiuno

Maybe that can be usefull: https://it.mathworks.com/matlabcentral/answers/327998-maximum-sampling-frequency-of-analog-input-thr...

Increasing sampling rate with ardiuno

Maybe that can be usefull: https://it.mathworks.com/matlabcentral/answers/327998-maximum-sampling-frequency-of-analog-input-thr...

mehr als ein Jahr ago | 0

Answered

Open struct field directly with ctrl+d

See answer in comment of Mr. @per isakson

Open struct field directly with ctrl+d

See answer in comment of Mr. @per isakson

mehr als ein Jahr ago | 0

| accepted

Question

Compute Craig Bampton model reduction using structural PDE toolbox of MATLAB (FEM SuperElements - Component Mode Synthesis)

Is it possible to extract a reduced model (also called Superelement) using Craig-Bampton technique (also called Component Mode S...

mehr als ein Jahr ago | 2 answers | 0

Question

.m files continue to open with text editor instead MATLAB

Hi, I am trying to set MATLAB as default application to open .m files. As usual, I select "open with" -> MATLABROOT\bin\win64\M...

mehr als ein Jahr ago | 1 answer | 0

Answered

How to display value of particular iteration in a loop

Maybe you can use this piece of code inside the for loop: if n==desired_iteration disp('This is the desired iterat...

How to display value of particular iteration in a loop

Maybe you can use this piece of code inside the for loop: if n==desired_iteration disp('This is the desired iterat...

fast 2 Jahre ago | 0

Question

How to evaluate a Frequency Response Function (FRF) or extract ABCD model from structural PDE toolbox FEM model

How can I get a frequency response function (FRF) or simply an ABCD model from a FEM structural model created with Structural PD...

fast 2 Jahre ago | 0 answers | 0

Answered

plot3 disappear points: graphics problems

At the end, I think that the best solution is use _setdiff_ and plot the cloud, *without* overlap.

plot3 disappear points: graphics problems

At the end, I think that the best solution is use _setdiff_ and plot the cloud, *without* overlap.

etwa 2 Jahre ago | 0

| accepted

Question

plot3 disappear points: graphics problems

Using Matlab 2017a accademic licence, I am plotting in 3 dimension, three dinstinct clouds of points using this order: the first...

etwa 2 Jahre ago | 1 answer | 0

Question

Problems set transparency not supported with software OpenGL histogram2

When I try to modify the transparecy of a histogram2 using _FaceAlpha_, Matlab (2017a accademic licence) return the warning: ...

etwa 2 Jahre ago | 1 answer | 0

Answered

Delete all highlight for simuling GoTo and From block

The easiest and fastest solution I found to remove the cyan color is to right-click with the mouse and then "Update Diagram", or...

Delete all highlight for simuling GoTo and From block

The easiest and fastest solution I found to remove the cyan color is to right-click with the mouse and then "Update Diagram", or...

etwa 2 Jahre ago | 0

| accepted

Question

Delete all highlight for simuling GoTo and From block

Good morning. Is there any way to remove highlighted GoTo and From for all blocks highlighted (typically blue) without pressi...

etwa 2 Jahre ago | 2 answers | 0

Question

Open struct field directly with ctrl+d

Hi, suppose that I have a main struct with some fields as the example: Data.A = [1 2 3]; Data.B = [4 5 6]; Data.C = [7 8...

mehr als 2 Jahre ago | 1 answer | 0

Question

Concatenate array from different main name struct

I have First.A =[ 1; 2; 3]; First.B =[ 10; 20; 30]; Second.A=[ 97; 98; 99]; Second.B=[970; 980; 990]; ...

mehr als 2 Jahre ago | 1 answer | 0

Question

Parfor in simulink linearization

I need to compute a huge amount of bode analysis of a system. For this reason, from my script I have a for loop where I lineariz...

mehr als 2 Jahre ago | 2 answers | 0

Answered

Parfor in simulink linearization

I found the solution at: https://ch.mathworks.com/help/slcontrol/examples/more-efficient-batch-linearization-varying-paramete...

Parfor in simulink linearization

I found the solution at: https://ch.mathworks.com/help/slcontrol/examples/more-efficient-batch-linearization-varying-paramete...

mehr als 2 Jahre ago | 0

| accepted

Question

Stop Simulink simulation when reached an oscillating steady state amplitude

Hello, I would like stop a Simulink simulation if a signal reach the steady state in terms of amplitude of oscillations: at the...

mehr als 2 Jahre ago | 1 answer | 1

Question

Declare variables from Matlab function workspace to Simulink worskpace

Hello, I have a MATLAB script that call a Matlan function. In this Matlab function, I compute some matrix and then I run a Sim...

fast 3 Jahre ago | 2 answers | 0

Question

Set limit for colorbar in log 3D plot

Dear all, I am plotting a 3D graph using a Z logaritmic axis. The surface have got a vertical asynthos (Z axis). For this reason...

etwa 3 Jahre ago | 1 answer | 0