How to generate matrix as shown below?
n = 3; A(1,1:n+1) = 0; for i = 2 : n+1 A(i,1:i-1) = A(i-1, 1:i-1) +1; end for i = 1: n+1 B(i,1:i) = (n+1-i); end ...

3年以上 前 | 0

How to use MATLAB to determine if an exe process exist?
[~,b] = system('tasklist'); IsRunning = contains(b, 'mspaint.exe'); %1, if is running / 0, if not

3年以上 前 | 1

| 採用済み

How to measure the shortest distance among different points using Matlab
B = randi([-10 10],5,3); % just some random numbers minimum = sqrt(sum((B(1,:)- B(2,:)).^2)); for i = 1 : size(B,1)-1 for...

3年以上 前 | 1

How can i keep asking them the same inputdlg based on how many they want to input?
count='How many values do you want?'; vcount=inputdlg(count); vcount = str2double(vcount{1}); eqprompt='Enter Values'; value...

3年以上 前 | 1

| 採用済み

GetLetter
Just type in a Number or a Char and get the letter for your Excel File

3年以上 前 | ダウンロード 1 件 |

EditExcelFile
Changes Freezed Panes and ColumnWidth. Adds Author

3年以上 前 | ダウンロード 1 件 |

How do I count the number of all color pixels of different shades in the image attached?
numYellowPixelsI= size(find((I(:,:,1) == 255 & I(:,:,2) == 255 & I(:,:,3) == 0)),1); In this case there would be 7025 yellow Pi...

3年以上 前 | 0

| 採用済み