Question

What is the scattering coefficient matrix returning when using the function FEATUREMATRIX?

smat = featureMatrix(sf,x) [smat,u] = featureMatrix(sf,x) smat = featureMatrix(___,Name,Value) I thought smat were the ...

1 month ago | 1 answer | 0

Question

how to divide matrix using mat2cell

Hello, I have a 9 matrices of size 1x21996, how can I divide the 9 matrices to be 6 of 1x3666 each? I tried this but it...

2 months ago | 1 answer | 0

Question

how to save iterations obtained from mat2cell?

I have a cell array A made up of matrices that I want to split up so I do this loop for i = 1:numel(A) B= mat2cell( A{i},[1]...

2 months ago | 1 answer | 0

Question

how to work with variables with different names in a loop?

Hello, I have a bunch of data taken in the lab which has names such as A1,A2... AN ... ETC. How can I work with these data...

2 months ago | 1 answer | 0

Question

how to partition data into testing and training

Hello, I am trying to train a ML network. I am using a matlab function which partitions my data into training and testing set...

2 months ago | 1 answer | 0

Question

how does the frequency change when you take the details coefficients of the wavelet transform?

Hello, I am using the wavelet decomposition to get the details coefficients of my signal. From my understanding, if I had...

3 months ago | 0 answers | 0

Question

what's the difference bewteen the scatternign tarsnform and cwt function?

Aren't both funxtions supposed to give you the continuos wavelet transform coefficients? What's the difference between these ...

5 months ago | 1 answer | 0

Question

why are the scalogram coefficients given in a table rather than matrix?

Hello, I am trying to get the scalogram coefficients from U, filterbank 2. s = scatteringTransform(sf,x) [s,u] = scatteringTr...

5 months ago | 0 answers | 0

Question

how to interpret scalogram coefficients

Hello, Once I obtain the scalogram coefficients and can make an image of them with this code. [S,U] = scatteringTransform(...

5 months ago | 1 answer | 0

Question

What is the difference between input of cell array {[Hi]} and {'Hi'}

As the title says, I have a cell array which contains data in this format {[Hi]} but I want to turn it to {'Hi'} ...

7 months ago | 1 answer | 0

Question

How can I add zeros between elements of a matrix?

I have a vector [1,2,3]; and I want to obtain [1,0,2,0,3,0]; How can this be achieved?

7 months ago | 2 answers | 0

Question

What is the difference between scalogram and scatteing coeffcients??

figure scattergram(sf,U,'FilterBank',1) What's the difference between scalogram and scatterinf coefficients ? Also, w...

8 months ago | 1 answer | 0

Question

how to get coefficients out of scattergram?

Hello, I have input a 1d signal on amplitude versus time of an ECG signal as y in the below code Fs = 12000; sf = waveletS...

8 months ago | 0 answers | 0

Question

How to align two noise signals with different phases?

Hello, I have the two signals as shown below. These two signals are sound signal and they carry the same information, however...

10 months ago | 0 answers | 0

Question

Fourier Transform spatial resolution

Hello, I have a gaussian fucntion whose output image is shown below. Each index in this figure is supposed to be = 1 cm. ...

11 months ago | 0 answers | 0

Question

Fresnel diffraction at an angle

I have written a code for Fresnel diffraction. [M,N]=size(gaussian); %get input field array size L=8000; z=10000; dx=L/M;...

12 months ago | 1 answer | 0

Question

Fraunhofer diffraction of circular aperture

Hello, I am trying to see how a speckle pattern changes with distance after it scatters from a rough surface. I am using Fraun...

1 year ago | 1 answer | 0

Question

Finding a value from spectogram

I created this spectogram through a vector of amplitudes. How can I find the max(:) Power/Frequency of this graph if I wasn'...

1 year ago | 0 answers | 0

Question

saving matrices with different cell sizes

Hello, I am running a for loop whose output is a matrix of different size at each iteration for c =1:1001 speckle_change...

1 year ago | 0 answers | 0

Question

Fraunhofer diffraction simulation in matlab

Hello, I have simulated how light would diffract by going through a phase mask. Below is the code. lambda=0.6*10^-6; % wavele...

1 year ago | 0 answers | 0

Question

Fraunhofer diffraction through scattering media

close all; clear all; lambda=0.6*10^-6; % wavelength, unit:m delta=80*lambda; % sampling period,unit:m z=1; % propagation dis...

1 year ago | 0 answers | 0

Question

how to change a .txt file to a .mat file

Hello, I have a .txt file that I want to convert into a .mat file. I tried this code M = dlmread('test_background_id.txt...

1 year ago | 1 answer | 0

Question

system of non linear functions

Hello, I get an error saying not enough input arguments. I literally tried to go step by step from the matlab tutorial for n...

1 year ago | 1 answer | 0

Question

Finding max value and its position in ed matrix

Hello, I know this question has alreayd been asked a million times, yet I have not managed to solve it by looking at previous...

1 year ago | 1 answer | 0

Question

tresholding by summing over a dimension of a matrix

Hello, I am trying to treshold data by summing over elemtns in the third dimension of a matrix and if the sum of all elements...

1 year ago | 1 answer | 0

Question

summing along 3rd dimension every 10 frames

Hello, I have a matrix of 32x32x2500. I would like to sum it along the third dimension so to have a matrix of 32x32x250 so tha...

1 year ago | 3 answers | 0