답변 있음
Plotting surface instead of line
it you want to plot the surface then use the surf(x,y,z) command

4년 초과 전 | 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>

4년 초과 전 | 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...

4년 초과 전 | 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...

4년 초과 전 | 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...

4년 초과 전 | 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...

4년 초과 전 | 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...

4년 초과 전 | 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 ...

4년 초과 전 | 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},:)=[];

4년 초과 전 | 1

| 수락됨

답변 있음
nX2 matrix. Random instances of 0,1,2... in column 1. Need to add all corresponding values of column 2 for each of 0,1,2... and create a matrix m X 2 where 1st column is 0,1,2.. and second column is the resultant sum of previous defined content.
dirty solution with for: tbl=zeros(191,2); for number=1:191 tbl(number,1)=number-1; tbl(number,2)=sum(data(data(:,...

4년 초과 전 | 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

4년 초과 전 | 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

| 수락됨

답변 있음
Display part of a legend
you can set the legend property 'AutoUpdate' to 'off' before you create the objects you dont want to see

거의 5년 전 | 0

더 보기