답변 있음

lsim: Remove input signal from plot

Hi cricketking13, if you don't want to have lsim plot the default plot, just "collect" the output and plot as you desire: %% L...

lsim: Remove input signal from plot

Hi cricketking13, if you don't want to have lsim plot the default plot, just "collect" the output and plot as you desire: %% L...

10일 전 | 0

| 수락됨

답변 있음

Whiteout/Remove some part of the contour plot

Hi Muhammad Usman, instead of assigning Zero to the nodes you don't want to use, apply "nan"-Values. That will be treated as if...

Whiteout/Remove some part of the contour plot

Hi Muhammad Usman, instead of assigning Zero to the nodes you don't want to use, apply "nan"-Values. That will be treated as if...

11일 전 | 2

| 수락됨

답변 있음

How can I write this code in matlab and have it run? ( all variables have been defined but it keeps giving me an error on this line)

Hi Adam Sabah, when I run your code I get this error message: ue = 1-4*sin((3*pi*x)/(2*L))*exp(-tmax(A/B))+4*sin((7*pi*x)/(2*L...

How can I write this code in matlab and have it run? ( all variables have been defined but it keeps giving me an error on this line)

Hi Adam Sabah, when I run your code I get this error message: ue = 1-4*sin((3*pi*x)/(2*L))*exp(-tmax(A/B))+4*sin((7*pi*x)/(2*L...

13일 전 | 0

답변 있음

Concatenate cell with numeric array in tables

Hi Marcus Watson, an straight-forward solution would be checking the variable types stored in the table. In case they don't mat...

Concatenate cell with numeric array in tables

Hi Marcus Watson, an straight-forward solution would be checking the variable types stored in the table. In case they don't mat...

19일 전 | 0

| 수락됨

답변 있음

How to get rid of Nan when calculating mean

Hi Emmanuel Gonzalez-Figueroa, The function mean() commes with a so-called nanflag: https://de.mathworks.com/help/matlab/ref/me...

How to get rid of Nan when calculating mean

Hi Emmanuel Gonzalez-Figueroa, The function mean() commes with a so-called nanflag: https://de.mathworks.com/help/matlab/ref/me...

24일 전 | 1

| 수락됨

답변 있음

'String scalar or character vector must have valid interpreter syntax:' for Sigma

Hi Yaser Khojah, I found the following description in the documentation of corrplot(): "Variable names to be used in the plots...

'String scalar or character vector must have valid interpreter syntax:' for Sigma

Hi Yaser Khojah, I found the following description in the documentation of corrplot(): "Variable names to be used in the plots...

25일 전 | 0

| 수락됨

답변 있음

Summation issue using loop

Hi Ali aaa, in your code parts are missing. Without knowing any constraints about the variables, I suggest the following soluti...

Summation issue using loop

Hi Ali aaa, in your code parts are missing. Without knowing any constraints about the variables, I suggest the following soluti...

29일 전 | 0

답변 있음

How to open files with similar names

Hi Carlo Speranza, first of all, get rid of the eval()-command. That is usually not needed, difficult to debug and prone to err...

How to open files with similar names

Hi Carlo Speranza, first of all, get rid of the eval()-command. That is usually not needed, difficult to debug and prone to err...

약 1달 전 | 0

답변 있음

Filtering a region of Interest

Hi Oreoluwa ADESINA, What you describe is part of the example shown in the roifilt2-documentation found here: https://de.mathwo...

Filtering a region of Interest

Hi Oreoluwa ADESINA, What you describe is part of the example shown in the roifilt2-documentation found here: https://de.mathwo...

약 1달 전 | 0

| 수락됨

답변 있음

How do I get the row numbers of the 'list' where the values are equal to the values of the array 'days'

Hi Yannick Leroy, the function ismember() allows to compare matrices with vector elements. The function find() supplies the ind...

How do I get the row numbers of the 'list' where the values are equal to the values of the array 'days'

Hi Yannick Leroy, the function ismember() allows to compare matrices with vector elements. The function find() supplies the ind...

약 1달 전 | 0

| 수락됨

답변 있음

Cell to array of strings

Hi Liam Ryan, what you describe is not a cell array of strings but char. You can convert it straightforward by applying string(...

Cell to array of strings

Hi Liam Ryan, what you describe is not a cell array of strings but char. You can convert it straightforward by applying string(...

약 1달 전 | 0

답변 있음

Adding Hexadecimal numbers?

Hi Jed Louise Lesma, Despite the extra bracket in your code (I removed it), the method you tried should work: a = '3afb'; b =...

Adding Hexadecimal numbers?

Hi Jed Louise Lesma, Despite the extra bracket in your code (I removed it), the method you tried should work: a = '3afb'; b =...

약 1달 전 | 1

| 수락됨

답변 있음

Radio Button Group not working

Hi Mo Jay, The default Units property is 'normalized'. Your button group is outside the visible area. GUI.fh = figure; %Butto...

Radio Button Group not working

Hi Mo Jay, The default Units property is 'normalized'. Your button group is outside the visible area. GUI.fh = figure; %Butto...

약 1달 전 | 0

| 수락됨

답변 있음

Can't plot reference line in pcolor-plot with logarithmic y-axis

Hi TIm Hilt, the problem is that on logarithmic scale zero is not defined thus your line does not have a valid starting point (...

Can't plot reference line in pcolor-plot with logarithmic y-axis

Hi TIm Hilt, the problem is that on logarithmic scale zero is not defined thus your line does not have a valid starting point (...

약 1달 전 | 0

| 수락됨

답변 있음

Break a while loop in a GUI Pushbutton

Hi MINKYUNG KIM, below you find an example for breaking a while loop within a pushbutton controlled GUI. The data exchange is d...

Break a while loop in a GUI Pushbutton

Hi MINKYUNG KIM, below you find an example for breaking a while loop within a pushbutton controlled GUI. The data exchange is d...

약 1달 전 | 1

| 수락됨

답변 있음

Separating and reprinting a big string

Hi bws1007: The string to write needs to be scalar. The command fwrite() is used to write into binary format, thus it does not ...

Separating and reprinting a big string

Hi bws1007: The string to write needs to be scalar. The command fwrite() is used to write into binary format, thus it does not ...

약 2달 전 | 0

| 수락됨

답변 있음

Linear scale to Log scale in CWT

Hi Raviteja, the command cwt() allows to use the output matrix of the wavelet transform to produce your own plots. One possibil...

Linear scale to Log scale in CWT

Hi Raviteja, the command cwt() allows to use the output matrix of the wavelet transform to produce your own plots. One possibil...

약 2달 전 | 0

답변 있음

Get frequency value from the Continuous Wavelet Transform

Hi Angus Joyce: You did not provide any data, thus I could not work on your example. The mathworks example files for wavelet tr...

Get frequency value from the Continuous Wavelet Transform

Hi Angus Joyce: You did not provide any data, thus I could not work on your example. The mathworks example files for wavelet tr...

약 2달 전 | 1

| 수락됨

답변 있음

Integrate for a specific period of time

Hi Allison, you can use one of Matlab's integrated ODE solvers to solve your differential equation. The code below makes use of...

Integrate for a specific period of time

Hi Allison, you can use one of Matlab's integrated ODE solvers to solve your differential equation. The code below makes use of...

2달 전 | 0

답변 있음

This how i want the plot to be

Hi idowu Abdul-Semiu, There are several plot-commands that support the image you are showing. Have a look for the following com...

This how i want the plot to be

Hi idowu Abdul-Semiu, There are several plot-commands that support the image you are showing. Have a look for the following com...

2달 전 | 0

답변 있음

Find rows in matrix based on columns value

Hi Steward Tan, in the given matrix there is no single column that contains the values 10 AND 11. If you want to find the rows ...

Find rows in matrix based on columns value

Hi Steward Tan, in the given matrix there is no single column that contains the values 10 AND 11. If you want to find the rows ...

3달 전 | 1

| 수락됨

답변 있음

Eliminate algebraic loop without using memory block

Hi Boru Wang, there is an article about "Remove Algebraic Loops" in the Matlab documentation: https://de.mathworks.com/help/sim...

Eliminate algebraic loop without using memory block

Hi Boru Wang, there is an article about "Remove Algebraic Loops" in the Matlab documentation: https://de.mathworks.com/help/sim...

3달 전 | 0

답변 있음

How to filter a signal?

Hi Bandw W, if you would like to simulate the output you can use lsim(): %% filter signal % create system myFilter = tf(num1...

How to filter a signal?

Hi Bandw W, if you would like to simulate the output you can use lsim(): %% filter signal % create system myFilter = tf(num1...

3달 전 | 0

답변 있음

Find the minimum of a function and use it to plot a graph.

Hi JACINTA ONWUKA, I do not know what you expect as output. The graph you are trying to plot is produced with every iteration. ...

Find the minimum of a function and use it to plot a graph.

Hi JACINTA ONWUKA, I do not know what you expect as output. The graph you are trying to plot is produced with every iteration. ...

4달 전 | 0

답변 있음

How to get different colours for different regions for this problem

Hi pallav pal, one example patch as requested. All others can be drawn accordingly. x1=0:.00001:1; x2=0:.00001:.334; y1=x1...

How to get different colours for different regions for this problem

Hi pallav pal, one example patch as requested. All others can be drawn accordingly. x1=0:.00001:1; x2=0:.00001:.334; y1=x1...

5달 전 | 0

| 수락됨

답변 있음

How to implement an adder without using adder block in Simulink

Hello Gowtham Gowda, my suggestion would be to use the implementation of a full adder which performs bitwise logical operations...

How to implement an adder without using adder block in Simulink

Hello Gowtham Gowda, my suggestion would be to use the implementation of a full adder which performs bitwise logical operations...

6달 전 | 0

답변 있음

Weird answer for function when dividing two fractions

Hi Katy Soto, type the following to command line to prevent Matlab from shortening output: format long g Then output of your ...

Weird answer for function when dividing two fractions

Hi Katy Soto, type the following to command line to prevent Matlab from shortening output: format long g Then output of your ...

8달 전 | 0

| 수락됨

답변 있음

Adjust the phase offset when using data from 'bode'

Hi Romain Liechti, if you want - as you write - stick to the bode output you should correct the phase by a reference phase shif...

Adjust the phase offset when using data from 'bode'

Hi Romain Liechti, if you want - as you write - stick to the bode output you should correct the phase by a reference phase shif...

8달 전 | 0

| 수락됨

답변 있음

Adjust the phase offset when using data from 'bode'

Hi Romain Liechti, in order to customize the frequency response plot you could use bodeplot() instead of bode(). There, you can...

Adjust the phase offset when using data from 'bode'

Hi Romain Liechti, in order to customize the frequency response plot you could use bodeplot() instead of bode(). There, you can...

8달 전 | 0

답변 있음

How to use the Levenberg-Marquardt algorithm to fitting data and get the first derivative?

Hi Nelson Saraiva, The Levenberg-Marquardt algorithm is already ready-to-use implemented into optimization toolbox: https://de....

How to use the Levenberg-Marquardt algorithm to fitting data and get the first derivative?

Hi Nelson Saraiva, The Levenberg-Marquardt algorithm is already ready-to-use implemented into optimization toolbox: https://de....

9달 전 | 0