Answered
How to terminate UI designed in App Designer?
Hi Rachel, the easiest way to do this is to call closereq

8 years ago | 3

| accepted

Answered
As shown in following code. inp contains 10*4 matrix. I am processing each row but i am getting processed output for the first row and for remaining row I am getting NaN value. why I am getting like that? where is the error?
When I evaluate your code I always get a warning on the following line: (it is between 0 and 70). K = (H*P')/S; %optimal K...

8 years ago | 0

| accepted

Answered
How to make this complicated array
x=5; y=8; a=(1:2*x+2*y-2); A=zeros(5,8); A(:,1) = a(:, 1:x)'; A(end,2:end) = a(:, x+1:x+y-1); A(end-1:-1:2...

8 years ago | 0

Answered
How can i put error bars in grouped bar plot?
In the File-Exchange there is a function that does exactly what you want. <https://de.mathworks.com/matlabcentral/fileexchang...

8 years ago | 0

Answered
Number to string within numeric matrix
have you tried using a categorical? categorical([1 2 1 1 2 2], [1,2], {'Atlanta'; 'Boston'}) ans = Atlanta B...

8 years ago | 2

| accepted

Answered
not enough input arguments error
Two suggestions: - you used gm instead of goldmin. Are you shure it is wanted that way? gm(p3function,-3,3) - Instead...

8 years ago | 1

| accepted

Answered
i am getting this error" Undefined function 'mtimes' for input arguments of type 'struct'." for th
It seems that your variable poplc is a struct. In order to mulitply its values you need to access the fields of the struct. ...

8 years ago | 1

Answered
Create a simple MATLAB program to plot early generations of the Koch curve?
the following two File Exchange Submissions might work for you... <http://de.mathworks.com/matlabcentral/fileexchange/44917-k...

8 years ago | 0

| accepted

Answered
max value of a cell array
max([ans{:, :}]) ... you could use this together with structfun

8 years ago | 0

Answered
solving a x^4 function using roots, how?
Hi Rand, check out the documentation <https://de.mathworks.com/help/matlab/ref/roots.html> it uses a certain way of notat...

8 years ago | 1

Answered
Curve Fitting on Histogram
Hi Ahmed, if I use data = rand(1e6,1); it works flawlessly, but if I use data = 2*rand(1e6,1); I get the same...

8 years ago | 0

| accepted

Answered
I have two scripts for fitting a function. The fitting results are the same for both of the scripts, but plotting the fit results is producing different plots.
change the last line of expfit_mine.m to plot(xData,yData,'b.',times,fun(fitresult,times),'r-') and you should be fine

8 years ago | 0

| accepted

Answered
Check if Simulink is started (for faster use of find_system)
I found a workaround that I wanted to share % check if Simulink was started in the past current_licenses = license('inus...

8 years ago | 0

| accepted

Question


Check if Simulink is started (for faster use of find_system)
I have a function that calls find_system('SearchDepth',0); to check if there are any Simulink elements. As expected, if...

8 years ago | 2 answers | 0

2

answers

Answered
Cannot find an exact (case-sensitive) match for 'rotate3D'
rotate3D does not exist in a vanilla R2016a. You need to use rotate3d (with a small d).

8 years ago | 0

| accepted

Answered
How to stop autosave when running m-file
Here is a possible solution that might help you <http://de.mathworks.com/company/newsletters/articles/automatically-save-backup...

8 years ago | 0

Answered
"hold on" on plot does not work over 2 functions
Hi Hyom, I tried to create a minimal working example from your code but I do not get any errors. Could you describe the error...

8 years ago | 1

| accepted

Answered
Pulse generator with variable frequency SIMULINK
Hi Mark, have you tried the entry Syed from the File Exchange? This might get you started... <https://www.mathworks.com/ma...

8 years ago | 0

Answered
How to make Matlab close automatically
Have you tried running your sequence of commands with quotation marks? matlab -nodesktop -r "runMyapp; exit;" Alternativ...

8 years ago | 0

Answered
Multiple Plot and saving as jpg
Hi, here's a piece of code that should get you started. Best Michael clear all; close all; clc; % Create ...

8 years ago | 0