Question

saving image file using imread

Hi i try to save an image file but gets the following error. I could not seem to correct it. Any help is appreciated. imwri...

2 months ago | 2 answers | 0

Question

averaging images and subtracting one image from the other

Hi, I have a basic image processing question. I am dealing with two sets of images. Lets say image A (average of 10 image sets) ...

4 months ago | 1 answer | 0

Question

storing values of for loop in a matrix

Hi, i have a basic problem. i am using nested for loops x and y and calculating variable z. the variable z is over written at ea...

4 months ago | 1 answer | 0

Answered

2d scan plot in matlab

what about using pcolor() command? This can also plot the data as i want

2d scan plot in matlab

what about using pcolor() command? This can also plot the data as i want

4 months ago | 0

Question

2d scan plot in matlab

Hi, I want to scan over 2 quantities lets say x and y. For every value of x, I scan over a range of y and record value z for ev...

4 months ago | 2 answers | 0

Question

change in histogram distributions

Hi, is it possible to flip a histogram around the peak value? I do not want to flip the axis. Just for performing some checks, i...

6 months ago | 1 answer | 0

Question

plotting intensity distributions on an image

I have an image and i can calculate sum of intensities along x and y axis using following code. i want to plot the sum of inten...

7 months ago | 2 answers | 0

Question

plotting plus minus 10% variation of a vector in matlab

Hi, I need some help with plotting. I have plotted two vectors A and B. Now I want to introduce a variation in vector A (10% var...

7 months ago | 0 answers | 0

Question

markers not getting joined in plot

I came across strange problem in matlab, i did a simple line plot using following code in a loop. i want to draw the line joini...

10 months ago | 2 answers | 0

Question

running an external program by changing input text file for every iteration in windows.

Hello, i want to run an external program in matlab by changing the value of a certain parameter in the input text file. I want t...

10 months ago | 1 answer | 0

Question

model for fitting polynomial of degree 3

Hi, i want to use 'fitlm' for fitting polynomial of degree 3. Is there some builtin name for the model? For example, for degree...

10 months ago | 1 answer | 0

Question

confidence interval for least square fitting

Hi, i have a system of equations of the form Ax=b. with A and b known matrics, i calculates x using least square method. Now i w...

10 months ago | 1 answer | 0

Question

computing error on least square fitting

Hi, i slove a system of equations (Ax-b) using least square method. i get an output with x like [2.5; -11.1; 0.8; 0.5]. the stat...

10 months ago | 1 answer | 0

Answered

calculating error while averaging multiple images

many thanks for this analyzer, it gives me attached error. Also what is mask and what does clear mask does?

calculating error while averaging multiple images

many thanks for this analyzer, it gives me attached error. Also what is mask and what does clear mask does?

10 months ago | 0

Question

plotting error bars in both x and y data

Hi, i want to plot data set x vs y. Now i have different error valuses in x and y. I want to plot error in both planes. The comm...

10 months ago | 1 answer | 0

Question

calculating error while averaging multiple images

Hi, I have a simple problem and needs guidance. I have 15 image files. I want to calculate the average of these images and calcu...

11 months ago | 3 answers | 0

Question

Error while starting a gui

I created a matlab gui to load some text files and process the data it contains. The GUI works all fine, but whenever i load the...

11 months ago | 1 answer | 0

Question

reading text files in different folders and combining them

Hi i have multiple text files in different folderswith data in same format ( 2000 rows and 7 columns). i want to combine the dat...

1 year ago | 0 answers | 0

Question

getting a NaN in correlation coefficient

Hi, i have a simple problem which unfortunately i am unable to understand. I have matrices and i am trying to calculate correla...

1 year ago | 2 answers | 0

Question

Loading multiple images, taking mean of them and subtracting background

Hi, I am new to the field of image analysis. my problem is that i want to load multiple images (lets say 20), take the mean of ...

1 year ago | 1 answer | 0

Question

Displaying matrix of correlation coefficients

Hi, i have a large matrix of correlation coefficients, which i am displaying using imagesc function. It gives me the imageof the...

1 year ago | 1 answer | 0

Question

plotting sets of data for an nxn matrix, where each element of a matrix is an array

Hi, I have two sets of variables. (a1, a2, ….a10) and (b1, b2, ….b15). I am changing 1st set of variables (a’s from let’s say ± ...

1 year ago | 0 answers | 0

Question

counting total no of particles in a bin in histogram

Hi, i have a basic problem. I had made a histogram with nbins=100. I want to count the number of particles of that bin which h...

2 years ago | 1 answer | 0

Question

plotting 2D data with respect to a third property

Hi, i have a data, lets say x and y column vectors, and i want to plot the data ccording toa third property represented by colum...

2 years ago | 1 answer | 0

Question

Normalization of colorbar showing bincounts of binscatter

I am using bin scatter to plot my 2D data. I want to normalize my bin counts from 0-1 in the color bar instaed of absolute numbe...

2 years ago | 1 answer | 0

Question

reading data from columns of multiple text files

Hi all, my question is a bit basic. I want want to read data of columns and individually store values of each in the form of an...

2 years ago | 1 answer | 0

Question

settings values of radio buttons in GUI

hello MATLAB community, is it possible to set values of radio buttons in GUI other than 0 or 1. I have a panel with four options...

3 years ago | 3 answers | 0

Answered

Dear All, I am new to MATLAb GUI and want to create one. My program should work in the following sequence. 1) Select option of polarity from a pop-up menu (total two options are available) 2) load file according to polarity selected 3) execute part

Thank you very much for the clarification.

Dear All, I am new to MATLAb GUI and want to create one. My program should work in the following sequence. 1) Select option of polarity from a pop-up menu (total two options are available) 2) load file according to polarity selected 3) execute part

Thank you very much for the clarification.

3 years ago | 0

Question

Dear All, I am new to MATLAb GUI and want to create one. My program should work in the following sequence. 1) Select option of polarity from a pop-up menu (total two options are available) 2) load file according to polarity selected 3) execute part

My Matlab script is as follows (which works perfectly but i have to change it to GUI for user readiness) R_pp=[]; ...

3 years ago | 2 answers | 0

Question

solving system of equations using singular value decomposition and fsolve

Hello, i have a system of equations which i want to solve. My simplified system is shown below. k1=0.6828; k2=1.3656; ...

3 years ago | 2 answers | 0