Risposto
FFT example Syntax what does it means P1(2:end-1) = 2*P1(2:end-1); ?
P1(2:end-1)= 2*P1(2:end-1) means that all values of the spectrum get doubled because of the conversion from two sided spectru...

oltre 5 anni fa | 4

Risposto
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)')]

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

| accettato

Risposto
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>

oltre 5 anni fa | 1

| accettato

Risposto
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...

oltre 5 anni fa | 1

| accettato

Risposto
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...

oltre 5 anni fa | 2

| accettato

Risposto
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...

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

| accettato

Risposto
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...

oltre 5 anni fa | 0

Risposto
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 ...

oltre 5 anni fa | 0

| accettato

Risposto
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},:)=[];

oltre 5 anni fa | 1

| accettato

Risposto
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

oltre 5 anni fa | 0

Risposto
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')

oltre 5 anni fa | 1

| accettato

Risposto
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...

oltre 5 anni fa | 0

| accettato

Risposto
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)

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

| accettato

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

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

| accettato

Risposto
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 '_' .

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

| accettato

Risposto
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...

oltre 5 anni fa | 0

| accettato

Risposto
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...

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 1

Risposto
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...

oltre 5 anni fa | 0

| accettato

Risposto
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...

oltre 5 anni fa | 0

Carica altro