回答済み
How to programming the matrix of mn ?
you could e.g. use the kronecker product like [kron((1:2:18)',ones(4,1)) kron(ones(numel(1:2:18),1),(1:2:7)')]

約5年 前 | 0

回答済み
Plotting surface instead of line
it you want to plot the surface then use the surf(x,y,z) command

約5年 前 | 0

| 採用済み

回答済み
Audio processing: Writing a pitch shifting echo effect
have a look into the shiftPitch() function, you can find it here <https://de.mathworks.com/help/audio/ref/shiftpitch.html>

約5年 前 | 1

| 採用済み

回答済み
Programmatically ejecting an external hard drive
you can combine matlab's system() function with the answer of <https://superuser.com/questions/1547316/eject-connected-extern...

約5年 前 | 1

| 採用済み

回答済み
Create listener for changes in position of a figure window
is this the same subject as in https://de.mathworks.com/matlabcentral/answers/391084-continuous-tracking-of-locationchanged-even...

約5年 前 | 2

| 採用済み

回答済み
The Convolution Theorem in 2D
i suggest you have a look onto file exchange, there is an example called 2d convolution theorem https://de.mathworks.com/matl...

約5年 前 | 0

回答済み
2d fft for many images
it looks like the correct way to conpute the 2d spectrum, also the removal of the dc component is correct. the questions if it i...

約5年 前 | 0

| 採用済み

回答済み
How to exclude specific rows form multiple separate tables in the workspace and than merge them?
assuming you have 15 tables, each is a 400x3 table with company names as row names and score type as column names you can remove...

約5年 前 | 0

回答済み
How do we make a plot of scatter3 with data shown on each panel (x-y,x-z,y-z)
you could use scatter3 four times, first you plot the black colored dots and with the three other scatter commands you plot the ...

約5年 前 | 0

| 採用済み

回答済み
removing bad data from table
for an array use tbl(tbl(:,1)+3<=tbl(:,2),:)=[]; and for a matlab table use tbl(tbl{:,1}+3<=tbl{:,2},:)=[];

約5年 前 | 1

| 採用済み

回答済み
find all sequences between delimiters in an array
you could convert the array to a string or char array and then use extractBetween() which does what you want

約5年 前 | 0

回答済み
How to remove identical pair of data from a matrix in MATLAB?
use something like unique(sort([1 2; 2 1; 3 5],2),'rows')

約5年 前 | 1

| 採用済み

回答済み
not enough input Arguments
you tried to call your function odDetect without an input argument although you need one. you have give the inage to the functio...

約5年 前 | 0

| 採用済み

回答済み
linearly independent or linearly dependent.
you could use something like syms a b c; [sola,solb,solc]=solve(S{1}*a+S{2}*b+S{3}*c==v,a,b,c)

約5年 前 | 0

回答済み
How do i turn a character array into a double cell
i think your actual problem is the way you check character arrays. for thise you have to use strcmp(chararray1,chararray2) inste...

約5年 前 | 0

| 採用済み

回答済み
zero padding on several images
if you want to use padarray, then use something like currSize=size(currImg); paddedImg=padarray(currImg,(aimSize-currSiz...

約5年 前 | 0

回答済み
Find index where condition is true, or end of matrix
you could set the last entry to the condition you are searching for and then use your find function. this way at least one index...

約5年 前 | 0

回答済み
How to divide images from folder into 4x4 blocks
you could use mat2cell A = rand(256,256,3); % your matrix here N = 4*ones(1,64); B = mat2cell(A,N,N,3); adjusted f...

約5年 前 | 0

回答済み
Comparing the entries of matrix in pairs
i hope i understood you correctly, first index is row index, the pair is the pair of compared column index and the last value is...

約5年 前 | 0

| 採用済み

回答済み
How to Convert letters to underscore
which interpreter are you using? if you want to display an underscore eg with latex interpreter use '\_' instead of '_' .

約5年 前 | 0

回答済み
Create a script that will accept number of times user can input data. Identify if every input is either ODD or EVEN numbers. Count the number of ODD and EVEN numbers.
just use something like this: times=input('how many times') numbers=zeros(1,times); for nr=1:times numbers(nr)=input('g...

約5年 前 | 0

回答済み
How to solve aliasing affect in signal?
the error occurs already in the creation of the two signals. how should the lowpass know how exactly you produce your signals an...

約5年 前 | 0

回答済み
Help with Bootstrap functuon, bootfun variable
bootfun has to be empty using [ ]. then you just need the second output from bootfun [~,idx]=bootstrp(...) and idx contains n co...

約5年 前 | 0

| 採用済み

回答済み
How do I use matlab to plot a graph where the x,y axes do not intersect?
not elegant, but possible if i'm not mistaken: fig=figure; % amount of shift of x and y axis in normalized coordinates dx=0...

約5年 前 | 0

| 採用済み

回答済み
Splitting an array in non equally length sub-arrays according to a flag value contained in another array
so if your flag specifies the end of the current R1 sub part then you could write something like flaggedIdx= find(~cellfun('ise...

約5年 前 | 0

回答済み
How to reconstruct the original signal using the detail coefficients in the discrete wavelet transform?
yes, it is possible to reconstruct using only approximation coefficients or detail coefficient. have a look into appcoeff() or d...

約5年 前 | 1

回答済み
How to sort rows in a matrix of strings according to a specific char?
easily possible, A = ['1C3489' ; '2E1919' ; '0A8721' ; '8B1821']; sortrows(A,2) the chars can dirextly be interpreted as n...

約5年 前 | 0

| 採用済み

回答済み
How can I add a legend in the end of sublot ( on the bottom of sublot ) ?\
the asiest way is to use tiledlayout instead of subplot and then setting the legend position to 'south'. if you want or have to...

約5年 前 | 0

回答済み
print value of i if the logical statement is TRUE
if in disp(i) end

約5年 前 | 0

| 採用済み

さらに読み込む