Risposto

plot time in HH:MM ix x axis

You need to change the format using datetick. date={'15:10:34.600 AM 2/26/2017','15:20:34.700 AM 2/26/2017','15:30:34.800 AM 2/...

plot time in HH:MM ix x axis

You need to change the format using datetick. date={'15:10:34.600 AM 2/26/2017','15:20:34.700 AM 2/26/2017','15:30:34.800 AM 2/...

oltre 2 anni fa | 0

| accettato

Risposto

How to add captions to figures in a LiveScript that also include figure numbers

@Cory Dinkle.. I would recommend if you can use annotations. With annotations it is easy to change different properties like ali...

How to add captions to figures in a LiveScript that also include figure numbers

@Cory Dinkle.. I would recommend if you can use annotations. With annotations it is easy to change different properties like ali...

oltre 2 anni fa | 0

Risposto

how to display a maximum and minimum value in figure of Matlab?

text: Add text descriptions to data points e.g. text(x,y,str) adds a text description to one or more data points in the current...

how to display a maximum and minimum value in figure of Matlab?

text: Add text descriptions to data points e.g. text(x,y,str) adds a text description to one or more data points in the current...

oltre 2 anni fa | 1

| accettato

Risposto

For loop overriding pervious data

I tweaked a bit @KSSV answer. Second loop I added in case you have different variable size in *.mat file. I hope this solution w...

For loop overriding pervious data

I tweaked a bit @KSSV answer. Second loop I added in case you have different variable size in *.mat file. I hope this solution w...

oltre 2 anni fa | 1

| accettato

Risposto

Y data on the bar plot

text(A(i),sprintf('(%.0f)',A(i))) - your syntax seems doesn't right. Please follow the following syntax to defined values of y o...

Y data on the bar plot

text(A(i),sprintf('(%.0f)',A(i))) - your syntax seems doesn't right. Please follow the following syntax to defined values of y o...

oltre 2 anni fa | 0

| accettato

Risposto

how to plot group boxplot

Have a look over the below link. There are sufficient infos available on MATLAB Website Also you can find some ready made funct...

how to plot group boxplot

Have a look over the below link. There are sufficient infos available on MATLAB Website Also you can find some ready made funct...

oltre 2 anni fa | 1

Risposto

How to change the plot proportions/size when exporting to jpg using live script in Matlab

you can try this out. I hope this served your purpose. set(gcf,'units','normalized','outerposition',[0 0 1 1]); saveas(f, full...

How to change the plot proportions/size when exporting to jpg using live script in Matlab

you can try this out. I hope this served your purpose. set(gcf,'units','normalized','outerposition',[0 0 1 1]); saveas(f, full...

oltre 2 anni fa | 0

Risposto

Multiple switch distance based.

@Krzysztof Slezak, there are many ways to do this. One way is to use If Simulink block together with If Action Subsystem. Pleas...

Multiple switch distance based.

@Krzysztof Slezak, there are many ways to do this. One way is to use If Simulink block together with If Action Subsystem. Pleas...

oltre 2 anni fa | 0

| accettato

Risposto

Generate wave with simulink

read the following link: Generate discrete sine wave - MATLAB - MathWorks Deutschland and Generate continuous or discrete sine w...

Generate wave with simulink

read the following link: Generate discrete sine wave - MATLAB - MathWorks Deutschland and Generate continuous or discrete sine w...

quasi 3 anni fa | 1

Domanda

Repeat a time based signal in Simulink (not using *.m script) / during Start of simulation based on number of repetitions

I am looking for a way to repeat a time based signals "n" times in Simulink as soon as I run the simulation. Just for referen...

quasi 3 anni fa | 1 risposta | 0

Risposto

Save results on different sheets in excel

You can try this example and adapt to your requirement. first "for loop" you can use for creating 5 different sheets as mentione...

Save results on different sheets in excel

You can try this example and adapt to your requirement. first "for loop" you can use for creating 5 different sheets as mentione...

quasi 3 anni fa | 0

Risposto

legend font style, f and | are very close

As per as my knowledge this is due to "FontName". Try with other FontName for e.g. Calibri etc you will see the difference.

legend font style, f and | are very close

As per as my knowledge this is due to "FontName". Try with other FontName for e.g. Calibri etc you will see the difference.

quasi 3 anni fa | 0

Risposto

PLOT CSV FILE IN MATLAB

csvread: The file can only contain numeric values. I would prefer readtable command. With this command you have flexibility to ...

PLOT CSV FILE IN MATLAB

csvread: The file can only contain numeric values. I would prefer readtable command. With this command you have flexibility to ...

quasi 3 anni fa | 2

| accettato

Risposto

Syntax error in function block of simulink

Please refer to the below link to find out the supported Trignometric Functions: https://de.mathworks.com/help/simulink/slref/t...

Syntax error in function block of simulink

Please refer to the below link to find out the supported Trignometric Functions: https://de.mathworks.com/help/simulink/slref/t...

circa 3 anni fa | 0

Risposto

How to plot a Simulink Desktop Real-Time model output in an App Designer app?

Hi Nagendra, There are different ways to acheive and one solution you can find in the below link: https://de.mathworks.com/mat...

How to plot a Simulink Desktop Real-Time model output in an App Designer app?

Hi Nagendra, There are different ways to acheive and one solution you can find in the below link: https://de.mathworks.com/mat...

circa 3 anni fa | 1

| accettato

Risposto

How do I solve "Error in port widths or dimensions" error in Simulink?

function input = C_REG(q) % global k_1 k_2 x=q(1); y=q(2); theta=q(3); e_p=[-x -y]; sag=[cos(t...

How do I solve "Error in port widths or dimensions" error in Simulink?

function input = C_REG(q) % global k_1 k_2 x=q(1); y=q(2); theta=q(3); e_p=[-x -y]; sag=[cos(t...

oltre 3 anni fa | 1

| accettato

Risposto

cell Array to numeric column vector

cell2mat converts the contents of a cell array into a single matrix More Info below: cell2mat: https://de.mathworks.com/help/...

cell Array to numeric column vector

cell2mat converts the contents of a cell array into a single matrix More Info below: cell2mat: https://de.mathworks.com/help/...

circa 4 anni fa | 0

Risposto

extracting data from a picture of a chart

grabit is one of the option with which you can extract data from *.jpg, *.png etc You can find it on FEX: https://de.mathwor...

extracting data from a picture of a chart

grabit is one of the option with which you can extract data from *.jpg, *.png etc You can find it on FEX: https://de.mathwor...

oltre 4 anni fa | 1

| accettato

Risposto

How to differentiate Subsystem and MATLAB Function Block with find_system()

Hello Lucas, Please refer to the answer provided by Murugan C in the below link: https://de.mathworks.com/matlabcentral/answer...

How to differentiate Subsystem and MATLAB Function Block with find_system()

Hello Lucas, Please refer to the answer provided by Murugan C in the below link: https://de.mathworks.com/matlabcentral/answer...

oltre 4 anni fa | 0

| accettato

Risposto

How to read txt file usinig txtscan?

Here you go: % Create import options, tailor the data types for multiple variables, and then read the data filename = 'Ahm-201...

How to read txt file usinig txtscan?

Here you go: % Create import options, tailor the data types for multiple variables, and then read the data filename = 'Ahm-201...

oltre 4 anni fa | 0

Risposto

How to mirror a plot ?

After your plot command, add the below line: set(gca, 'XDir','reverse')

How to mirror a plot ?

After your plot command, add the below line: set(gca, 'XDir','reverse')

oltre 4 anni fa | 3

| accettato

Risposto

How do I plot the Colebrook equation?

Here you can find the submission from Ildeberto de los Santos Ruiz https://de.mathworks.com/matlabcentral/fileexchange/72247-co...

How do I plot the Colebrook equation?

Here you can find the submission from Ildeberto de los Santos Ruiz https://de.mathworks.com/matlabcentral/fileexchange/72247-co...

oltre 4 anni fa | 0

Risposto

Mark the intersection of two curves in a graph

Hi, There are few solutions and answers which you can found in below links: Detect Curve Intersections, Quickly and Easily h...

Mark the intersection of two curves in a graph

Hi, There are few solutions and answers which you can found in below links: Detect Curve Intersections, Quickly and Easily h...

oltre 4 anni fa | 0

Risposto

How can i collect output port data from Simulink model to GUI using get_param?

You want to use specifically get_param? You can find my submission on how to control Simulink Model from MATLAB App based on ev...

How can i collect output port data from Simulink model to GUI using get_param?

You want to use specifically get_param? You can find my submission on how to control Simulink Model from MATLAB App based on ev...

oltre 4 anni fa | 0

Risposto

How to change the filename in xlswrite using loop

using xlswrite in a loop will effect performance. Try this FEX: https://de.mathworks.com/matlabcentral/fileexchange/10465-xlswri...

How to change the filename in xlswrite using loop

using xlswrite in a loop will effect performance. Try this FEX: https://de.mathworks.com/matlabcentral/fileexchange/10465-xlswri...

oltre 4 anni fa | 0

Inviato

Interface between MATLAB App and Simulink

This app enables to read and display the Simulink model outputs during the simulation in the MATLAB app.

oltre 4 anni fa | 15 download |

Risposto

Update plot uitable problem

After a while, I found a solution to this problem: t = table(Drehzahl, Drehmoment, 'RowNames',{'Startpunkt' 'P1' 'P2' 'P3' 'End...

Update plot uitable problem

After a while, I found a solution to this problem: t = table(Drehzahl, Drehmoment, 'RowNames',{'Startpunkt' 'P1' 'P2' 'P3' 'End...

oltre 4 anni fa | 0

| accettato

Risposto

How can I show the outputs of a simulink model in a GUI?

Please use internet search engine or FEX you will find most of the answers to your problem check this file exchange submission ...

How can I show the outputs of a simulink model in a GUI?

Please use internet search engine or FEX you will find most of the answers to your problem check this file exchange submission ...

oltre 4 anni fa | 0

Risposto

how to save image in specific folder in matlab?

Moved from comment section to Answer!!! -------------------------------------------------------- ImageFolder need to be a stri...

how to save image in specific folder in matlab?

Moved from comment section to Answer!!! -------------------------------------------------------- ImageFolder need to be a stri...

oltre 4 anni fa | 0

Risposto

Appdesigner textbox: is there a way to do multiple lines like for step 1, step 2, etc..?

Hi Aaron, by changing the position property (position: [left bottom width height]) you can fit your complete text. d = dialog(...

Appdesigner textbox: is there a way to do multiple lines like for step 1, step 2, etc..?

Hi Aaron, by changing the position property (position: [left bottom width height]) you can fit your complete text. d = dialog(...

oltre 4 anni fa | 0

| accettato