답변 있음
curve fitting for multiple variable
Hi zohre vash, that depends strongly on what kind of model function you are using. cftool provides a bunch of functions and a G...

대략 6년 전 | 0

| 수락됨

답변 있음
structures to matrix for preparing for classification
Hi Amir Naderi, if all data to concatenate are within the field 'property' and have same size of matrix you can apply struct2ce...

대략 6년 전 | 1

| 수락됨

답변 있음
Find and remove a value from an array
Hi Zenia Askar, Assuming the content of your variables 'done' and 'next' are numeric your code cannot remove a single value fro...

대략 6년 전 | 0

| 수락됨

답변 있음
Could anyone help me how to overcome the error in the following code:
Hi jaah navi, To display the legend use lgd = legend('show'); The property/method 'NumColumns' does not exist. What is the pu...

대략 6년 전 | 0

답변 있음
cant get a good fit
Hi Thaer Ismail, the following plot command is not correct: plot(Sw,F(x,Pc)) According to your data handling it should be pl...

대략 6년 전 | 0

답변 있음
We want to get colors on edit text in GUI. How can we do this ?
Hi cevdet kopuz, if you use uicontrol()-elements in your GUI, you can make use of the properties "ForegroundColor" and "Backgro...

대략 6년 전 | 0

답변 있음
Display string and variable value in a window in a GUI or different output
Hi chris bowman, there are some issues within the code snippet you provided: Matlab does not need an initiation of variables a...

대략 6년 전 | 3

| 수락됨

답변 있음
Problem to output value from custom GUI with radiobuttons
Hi Sarah, the way how handles are assigned and used in guidata is not correct. Please refer to the documentation of guidata(). ...

대략 6년 전 | 0

| 수락됨

답변 있음
Repeat elements of a vector as matrixes in a multidimensional array.
Hi Marius Adom, If I understood your task correctly, you can use arrayfun() to create each x-y-Matrix and concatenate them usin...

대략 6년 전 | 1

| 수락됨

답변 있음
Convert all my txt file to graph and save it as image file
Hi kenneth lee, have a look at these two built-in functions: saveas() print() Kind regards, Robert

대략 6년 전 | 0

답변 있음
Undefined unary operator '.'' for input arguments of type 'function_handle'.
Hi Clarisha Nijman, your b is a function handle to the anonymous function with input arguments x and y. Gradient itself is - as...

대략 6년 전 | 0

| 수락됨

답변 있음
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...

대략 6년 전 | 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...

대략 6년 전 | 3

| 수락됨

답변 있음
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...

대략 6년 전 | 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...

6년 초과 전 | 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...

6년 초과 전 | 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...

6년 초과 전 | 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...

6년 초과 전 | 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...

6년 초과 전 | 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...

6년 초과 전 | 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...

6년 초과 전 | 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(...

6년 초과 전 | 2

답변 있음
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 =...

6년 초과 전 | 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...

6년 초과 전 | 1

| 수락됨

답변 있음
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 (...

6년 초과 전 | 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...

6년 초과 전 | 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 ...

6년 초과 전 | 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...

6년 초과 전 | 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...

6년 초과 전 | 2

| 수락됨

답변 있음
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...

6년 초과 전 | 0

더 보기