답변 있음
Powell's Algorithm not obeying Upper Bound (UB)
Yes, this is the documented behavior: % Lb, Ub: lower and upper bound vectors to plot (default = x0*(1+/-2)) Lb and Ub are u...

거의 4년 전 | 0

답변 있음
Function 'subsindex' is not defined for values of class 'cell'
What is the purpose of handles.edit1.String(TIP1) Here TIP1 = {'ITS A GREAT CAR'} is used as index of the variable replied by ...

거의 4년 전 | 0

답변 있음
When I run a specific MEX file I get the message: "Invalid MEX file: The specified module could not be found". The dependency_walker utility seems not to work.
Open the DependencyWalker with a double click. Then select the mex file manually. This should show the report after some seconds...

거의 4년 전 | 0

답변 있음
Why am I receiving the error message "Array indices must be positive integers or logical values"?
ch_i(exp(-(z/ch_i))) ch_o(exp(-(z/ch_o))-1) Here exp(-(z/ch_i)) and exp(-(z/ch_o))-1 are used as indices of the variables ch_i...

거의 4년 전 | 0

| 수락됨

답변 있음
I want to make an iteration for all arras of my vector.
n=ones(size(f_s)); ready = false; while ~ready nOld = n; ... Your code as above ready = all((n - nOld) < 0.01) ...

거의 4년 전 | 0

| 수락됨

답변 있음
Invalid RHS for assignment to a categorical array.
Group_Train1 is a [274x1] double vector. u contains its unique elements. result is an empty categorical. The error message mean...

대략 4년 전 | 1

| 수락됨

답변 있음
Error compiling third party plugin
"I navigated with Matlab to the libeep folder" - the provided command is not Matlab. Did you install XCode? Then open a command...

대략 4년 전 | 0

답변 있음
How to read audio file from file?
The error message tells clearly, that there is no file called 'D:\BİTİRME PROJESİ\TIMIT\data\TRAIN\DR2\FAEM0.SA1.wav' There i...

대략 4년 전 | 0

| 수락됨

답변 있음
How to correct the code?
for k = 1:size(lambda) fun_lambda_value(k) = subs(f,[x1,x2],[x_1(i)+lambda(k,1)*S(1),x_2(i)+lambda(k,1)*S(2)]) end If lamd...

대략 4년 전 | 1

| 수락됨

답변 있음
How do I add numbers into a sequence
x = [1;10;30]; y = x.' + (0:9).'; y = y(:)

대략 4년 전 | 0

| 수락됨

답변 있음
PARFOR in real applications
After trying many examples from many questions in the forum, I've found: https://www.mathworks.com/matlabcentral/answers/172017...

대략 4년 전 | 0

답변 있음
Perform specific operations on arrays without "for" loop
You do not want less for loops, but more: Accesing the RAM is slower than using the CPU cache: function [chi,zeta,M,O,Delta,rho...

대략 4년 전 | 3

| 수락됨

답변 있음
I would like to know how I can find out how long a certain event lasts.
data = [ ... 0.019 0 0.04 0.45371 0.057 0 0.076 0.15127 0.092 0.22037 0.107 0.2317 0.1...

대략 4년 전 | 0

| 수락됨

답변 있음
what is this eror and what does it mean and how can i solve it ?
it says here that ('loop index 'i' is changed inside of a FOR loop) Yes, and this is the clear explanation already. Do not chan...

대략 4년 전 | 0

답변 있음
How can I add an extra dimension to make the array 2D to 3D?
Reduce the clutter: name = ''; if idx < 10 name = strcat('0',int2str(idx),'.mat'); load(name); else name = str...

대략 4년 전 | 1

| 수락됨

답변 있음
Trying to use central difference scheme to solve logistic equation
Your code is no valid Matlab code. I suggest to learn the basics from: https://www.mathworks.com/learn/tutorials/matlab-onramp.h...

대략 4년 전 | 0

| 수락됨

답변 있음
using matlab compiler to read a .mat file at run time
Consider, that pwd is fragile. Any subfunction might change the current directory. See here for a method to get the location o...

대략 4년 전 | 0

답변 있음
How can I write a fraction inside string?
What exactly is the problem? I've simply copied the string provided in the question, inserted a linebreak \n to let the comnplet...

대략 4년 전 | 0

| 수락됨

답변 있음
where can i get original Matlab code of an algorithm published in a research paper?
Ask the author of the paper. Sometimes they provide the code. Don't be surprised, if the code does not run on your computer. I'...

대략 4년 전 | 0

답변 있음
How to set even spacing between preset tick marks
What do you exactly want as output? Beside the possibility to do this in Matlab, think twice if the person can understand the o...

대략 4년 전 | 1

| 수락됨

답변 있음
Out of memory error message when attempting to plot in 3D
function dxdt = g(t,f) dxdt=g(t,f) ... end This function calls itself recursively. Of course this let Matlab crash. What is ...

대략 4년 전 | 0

| 수락됨

답변 있음
Un smoothing set of saved data
No. Smoothing destroys the signal of the noise. You cannot reconstruct it.

대략 4년 전 | 0

| 수락됨

답변 있음
Weird behavior of ODE45?
It is still not clear, what this means: "the initial condition 'uF' wasn't updated correctly" When I run your code, I do see th...

대략 4년 전 | 0

| 수락됨

답변 있음
How to set axes in a figure without displaying the figure
axes(ax1) activates the already created axes with the handle ax1. [EDITED] And it enables the visibility of the figure automatic...

대략 4년 전 | 0

답변 있음
problem in my programme
I guess, the problem is hidden here: function f=costf(a,b,c,x) ... f=sum(a.*x.^2+b.*x+c) ... out=fx+sum(penalty,2);...

대략 4년 전 | 0

답변 있음
how do i resolve this ode45 problem
Your expression contains unbalances parentheses: Vof=@(t) Vo(1+ceil(t.*fo.*(length(t)-1)); 4 opening ( but only 3 closing ). ...

대략 4년 전 | 0

답변 있음
What is the difference between .m and .M?
Under Windows, files are not case-sensitive in general, but under Linux and MacOS they are. For code without dependencies on the...

대략 4년 전 | 0

답변 있음
How to define a specific limit coordinates in the figure?
The limits are no property of the figure, but of the axes. Simply set fixed limits, e.g. here: set(handles.axes1,'XGrid','on','...

대략 4년 전 | 0

| 수락됨

답변 있음
Asking the user to enter the extension of the files and load all of them in the current directory
Folder = 'C:\Users\Kumsa\Desktop\OCM_MAT'; List = dir(fullfile(Folder, '*.*')); [~, ~, AllExt] = fileparts({List.name}); Al...

대략 4년 전 | 0

답변 있음
How can I find a specific toolbox
You can download the code from an internet archive: Start at https://archive.org/web/ Then type in the dead web address I've p...

대략 4년 전 | 0

더 보기