Community Profile

photo

parslee


Last seen: 7 dagar ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Use the function command to open a vff. file
I'm trying to open a vff file on Matlab using a vff reader I found on File Exchange, but I'm not sure how to use the function co...

2 månader ago | 1 answer | 0

1

answer

Question


How to fit a normal distribution curve to a bar graph?
I have a bar plot and I tried fitting a Gaussian distribution curve using normpdf, but it's not working. What am I doing wrong? ...

mer än ett år ago | 1 answer | 0

1

answer

Question


How to determine the x intercept between a function and a yline?
I have a Gaussian function and a yline on my plot and I want to determine the intercept of these two lines. xfit = linspace(-0....

mer än ett år ago | 1 answer | 0

1

answer

Question


How to insert a column of zero into a 3D matrix?
A = rand(128,256,36); B = zeros(128,1); I would like to concatenate B and A so that C = cat(2,B,A(:,:,1) but for every A(:,:,1...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to concatenate first column of matrix A and first column of matrix B, then second column of matrix A and second column of matrix B and so on?
A = rand(128,4626); B = rand(128,4626); I would like to concatenate A and B together, but in this format: C = [A(:,1) B(:,1)...

ungefär 2 år ago | 2 answers | 0

2

answers

Question


Why do I keep getting this error with my for loop?
I'm writing a for loop and I keep getting an error that says, "Unable to perform assignment because the size of the left side is...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to multiply a subset of matrix by a column from another matrix?
I have an array of 128x9252 and I would like to group them as A1 = (:,1:257) A2 = (:,258,514) … A36 = (:,8996:9252) which w...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to fit an exponential curve for every column in a matrix?
I have a matrix of 257x36 and each column represents a different data set. I need to apply an exponential fit to each column an...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to group elements of an array?
I have an array of 1x4096 and I would like to group 1-32 cells, 33-64 cells and so on and store them as A1, A2, etc. I tried wr...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to combine two exponential equations into one?
I have an increasing exponential function that I need to apply first half of the array and a decreasing exponentail function tha...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How can I replace the centre of imagesc with zero?
I have an imagesc 128*2000 and I want to replace the centre (60-76 in the x-direction and 900-1150 in the y-direction) with zero...

ungefär 2 år ago | 5 answers | 0

5

answers

Question


What's the inverse of squeeze?
Matrix A of 128x1x514 was squeezed and then divide by matrix Y of 1x514. How can I inverse the squeeze so that matrix A becomes...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to multiply each column in the matrix by different scientific notation values that should be imported from a txt file?
I have data in a txt file that I imported into Matlab. The file has val(:,:,1), val(:,:,2), and so on all the way to val(:,:.25...

mer än 2 år ago | 1 answer | 0

1

answer

Question


How do you take the absolute value of only the complex number?
I have a matrix of 128x256 filled with real and complex number; ex. -0.0115+0.0059i. How do I take the absolute value of only t...

mer än 2 år ago | 2 answers | 0

2

answers

Question


How do you inverse fourier transform 2D data only in one direction?
My data is in 2D (x and y direction) and I would like to inverse Fourier transform only in the x-direction. (Please see attached...

mer än 2 år ago | 2 answers | 0

2

answers

Question


How to import data from a txt file that has 256 arrays and 128 data points per array into a 128x256 matrix?
I have data in a txt file that I would like to import into Matlab for further analysis. The file has val(:,:,1), val(:,:,2), an...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Error: How to store values from a for loop?
I am using getDataTips on the File Exchange to extract data tip info. I wrote a for loop so that I can extract just the index v...

mer än 2 år ago | 1 answer | 0

1

answer

Question


How do you extract index values from the data tips function into a variable or an array?
I need the index value shown when I select a pixel of my image using the data tips tool. I need to acquire all the index values...

mer än 2 år ago | 1 answer | 0

1

answer