Community Profile

photo

Jan


Last seen: Today 2009 以来アクティブ

It is easier to solve a problem than to guess, what the problem is. Questions about FileExchange submissions are welcome - get my address from the code. I do not answer mails concerning questions in the forum.

Statistics

All
  • Most Accepted 2021
  • Grand Master
  • Promoter
  • Commenter
  • Explorer
  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Revival Level 4
  • 36 Month Streak

バッジを表示

Content Feed

表示方法

回答済み
Index exceeds the number of array elements. Index must not exceed 2.
for i=3:n y_m(i)=y_m(i-2)+2.*h.*f_m(i-1); % <-- This is line 16 f_m(i)=20.*(y_m(i)-cos(t(i)))-sin(t(i)); % ...

約4時間 前 | 0

回答済み
matlab function to find a similar signal in data
Do you want to get something like this: x = rand(1, 10000); y = x(300:400) + (rand(1, 101) -0.5) * 0.01; % A small part with ...

約4時間 前 | 0

回答済み
For loop for Sine wave function
The warning is solved is solved by a pre-allocation. Insert before the loop: T = 5; ´ % size of window fs = 44100;...

約5時間 前 | 0

回答済み
Operate on 3d matrix based on 2d logical
A = rand(10000, 60, 60); B = rand(60, 60) < 0.5; % logical AA = reshape(A, 10000, 360); C = AA(:, B) * 3; Afterwards y...

約5時間 前 | 0

回答済み
json encode/decode
Does the encode of Matlab's production server help? a = [1,2,3] j1 = jsonencode(a) a1 = jsondecode(j1) j2 = mps.json.encode(...

約6時間 前 | 0

回答済み
How can I export data set from Matlab to excel ?
The maximum number of rows in Excel is 1'048'576, while it can work with 16'384 columns. This means, that you cannot store vecto...

約6時間 前 | 0

回答済み
have array entries filled depending on their indices?
The code is strange, because all elements of A are 0 except for the first one. B(1) is zero, so prod(B(1:n)) is zeros also. Mayb...

約7時間 前 | 0

回答済み
How can i read images for filtering using if else condition in GUI?
imfilter operates on the pixel values of an image. See: imfilter . There is no "parent" property, so simply omit this: % XG1 = ...

約7時間 前 | 0

回答済み
for loop is endless
ST1 = zeros(1, 10000); % Pre-allocate for k = 1:10000 ST1(k) = sadj * exp(r-0.5*(vol^2)) * T + vol * sqrt(T) * randn(k); ...

1日 前 | 0

回答済み
Solution Codes of Ordinary Diferenatial Equation
What is the purpose of the outer loop "for p=1:k"? Why does the inner loop "for n=0:p-2" run from 0 to p-2? It is confusing tha...

2日 前 | 0

回答済み
Problems accessing files from code after moving a matlab project from uni pc to home
Do not call fopen without checking for errors: [fid, msg] = fopen(file, 'r'); assert(fid > 0, 'Cannot open file for reading: %...

2日 前 | 0

回答済み
How to sort a dot indexed array by rows based on one column
[~, index] = sort([pop.F]); pop2 = pop(index);

2日 前 | 0

回答済み
how to use read variable
T = readtable('Population_data.xlsx'); population = T{:, 3};

3日 前 | 0

回答済み
How can I create a plot with two different yaxis, with one of them inside the figure?
Simply create 2 axes: FigH = figure; Axes1H = axes(FigH, 'Position', [0.1300 0.1100 0.5 0.8150], ... 'Box', 'on'); ...

3日 前 | 0

回答済み
Best way to initialize different parameters based on the machine in which I run the code
Matlab's setpref and getpref command is very useful also to store machine specific parameters. A drawback is, that these settin...

4日 前 | 0

回答済み
i want to Write a user-defined function that calculate total marks, out of 100,The course should include homework, midterms, and final exam and i dont know why didint work
if (95 >= Gall) Read this loud: "If 95 is greater than Gall". No, you want the other way around: if Gall >= 95 The ...

4日 前 | 0

回答済み
How to filter the following vector from multiple vectors?
Maybe: V = MM(:, abs(MM(2, :)) < 32); [~, index] = min(V(1, :)); W = V(:, index)

4日 前 | 0

回答済み
Within a script, can I close or redirect a Windows File Explorer window opened with 'winopen'?
You could open a tree view to the folder inside Matlab: [mtree, container] = uitree('v0', 'Root','C:\') % Still working? This...

4日 前 | 0

| 採用済み

回答済み
Two complex matrix can not to multiply by each other.
Try this: https://www.mathworks.com/matlabcentral/answers/1584284-the-problem-of-conv2-with-blas-loading-error

4日 前 | 0

回答済み
Compare two string arrays with a if loop
A simpler formulation of your question might be: Datenbank = [ ... "Na,Pb" "Abellaite" ""; ... "...

4日 前 | 0

| 採用済み

回答済み
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 ...

5日 前 | 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...

5日 前 | 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...

5日 前 | 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) ...

6日 前 | 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...

7日 前 | 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...

7日 前 | 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...

7日 前 | 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...

7日 前 | 1

| 採用済み

回答済み
How do I add numbers into a sequence
x = [1;10;30]; y = x.' + (0:9).'; y = y(:)

7日 前 | 0

| 採用済み

もっと読み込む