Answered

Where can I download all colortype images (binary, indexed, graycode, RGB) ?

I'm not sure if this is what you mean, but all the matlab example images are in this folder: C:\Program Files\MATLAB\R2013b\t...

Where can I download all colortype images (binary, indexed, graycode, RGB) ?

I'm not sure if this is what you mean, but all the matlab example images are in this folder: C:\Program Files\MATLAB\R2013b\t...

nästan 8 år ago | 0

Answered

Computation of mean and standard deviation after supressing NaNs of an array

Hi Naga, The term "average" usually encompasses several ways to measure what value best represents a sample. There are vari...

Computation of mean and standard deviation after supressing NaNs of an array

Hi Naga, The term "average" usually encompasses several ways to measure what value best represents a sample. There are vari...

nästan 8 år ago | 0

Answered

want to know the bytes of upperLeft image

a=whos('upperleft'); a.bytes will give you the size of the variable

want to know the bytes of upperLeft image

a=whos('upperleft'); a.bytes will give you the size of the variable

nästan 8 år ago | 0

Answered

Change Pop up menu choices when GUI is started

Fixed, Put: set(handles.popupmenu1, 'String', sheetNamesOECF); in your OpeningFcn.

Change Pop up menu choices when GUI is started

Fixed, Put: set(handles.popupmenu1, 'String', sheetNamesOECF); in your OpeningFcn.

nästan 8 år ago | 0

| accepted

Question

Change Pop up menu choices when GUI is started

I have a cell called sheetNamesOECF containing strings, this cell is updated in the main mfile, When I run the gui for the firs...

nästan 8 år ago | 1 answer | 0

Question

any returns 0 eventhough there is a non zero element in the row

I have a cell that looks like this: measureables = 'GS_L' 'OECF' 'DYNAMIC_RANGE' 'NOISE' I do this:...

nästan 8 år ago | 2 answers | 0

Answered

How do I plot multiple plot using cftool in the same figure palette?

http://nl.mathworks.com/help/curvefit/cftool.html use hold all to plot multiple fits.

How do I plot multiple plot using cftool in the same figure palette?

http://nl.mathworks.com/help/curvefit/cftool.html use hold all to plot multiple fits.

nästan 8 år ago | 0

Answered

deleting rows containing NaN

Array(any(isnan(Array),2),:) = [];

deleting rows containing NaN

Array(any(isnan(Array),2),:) = [];

nästan 8 år ago | 13

| accepted

Question

Problem with matrix calculation

I have the following line of code that represents the inverse function of: a+b*(100*10^-x)^c this is the x: x=double(...

nästan 8 år ago | 1 answer | 0

Question

Array divided by 255 gives me 0

I have an matrix that looks like this (but bigger) [30 29 31; 29 30 30; 30 31 30] now when I divide it by 255, ...

nästan 8 år ago | 2 answers | 0

Answered

Error using surf, X, Y, Z, and C cannot be complex

you were taking square roots of negative values, thus giving complex values. r=abs(sqrt((4*V.^-k)./(cos(U).^2+k*sin(U).^2)...

Error using surf, X, Y, Z, and C cannot be complex

you were taking square roots of negative values, thus giving complex values. r=abs(sqrt((4*V.^-k)./(cos(U).^2+k*sin(U).^2)...

nästan 8 år ago | 0

Answered

Create variable from cell array based on strings

I think this should work. I am on mobile though so I can't check it atm. index=strcmp(var1(:,1),'A'); index=index(:,an...

Create variable from cell array based on strings

I think this should work. I am on mobile though so I can't check it atm. index=strcmp(var1(:,1),'A'); index=index(:,an...

nästan 8 år ago | 0

Question

Can't remove xlabel from top graph

Picture here: <</matlabcentral/answers/uploaded_files/28309/residuals.png>> I cant seem to delete the top graphs xlabe...

nästan 8 år ago | 1 answer | 0

Question

Problem with matlab fit

While this might not solely be a matlab problem, I guess I could still ask it here: I measured a grayscale chart with spectro...

nästan 8 år ago | 1 answer | 0

Answered

How can i make a Moving Average Filter of order 4 for removing the noise from signal?

We are not here to do your homework, we are here to help you if you are stuck.Please show us what you've done so far, and give u...

How can i make a Moving Average Filter of order 4 for removing the noise from signal?

We are not here to do your homework, we are here to help you if you are stuck.Please show us what you've done so far, and give u...

nästan 8 år ago | 0

Answered

How to generate random function with respect to time ??

clc clear all close all sf=50; time=60; mag=1; S=zeros(1,sf*time); for iT=1:length(S) S(iT)=-mag+2*ran...

How to generate random function with respect to time ??

clc clear all close all sf=50; time=60; mag=1; S=zeros(1,sf*time); for iT=1:length(S) S(iT)=-mag+2*ran...

nästan 8 år ago | 0

| accepted

Answered

how to read img file in matlab

[Z,R] = arcgridread('Test.grd'); mapshow(Z,R,'DisplayType','surface'); xlabel('x (easting in meters)'); ylabel('y (north...

how to read img file in matlab

[Z,R] = arcgridread('Test.grd'); mapshow(Z,R,'DisplayType','surface'); xlabel('x (easting in meters)'); ylabel('y (north...

nästan 8 år ago | 1

| accepted

Answered

fft problem - how do I fix the edges?

The Fourier Transform relies on the assumption that your time domain data is periodic, so you can just repeat your time domain d...

fft problem - how do I fix the edges?

The Fourier Transform relies on the assumption that your time domain data is periodic, so you can just repeat your time domain d...

nästan 8 år ago | 0

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

nästan 8 år ago

Question

Getting data from a struct array using dynamic field references

I have a struct that looks like this: data = GS_L: {411x9 cell} GS_R: {27x9 cell} GS_U: {27x9 cel...

nästan 8 år ago | 1 answer | 0

Question

Opening multiple excelworksheets with stringnames from a cell

I have a template file who's name is Template UTT, I load and read the file like this: excelsheet = uigetfile('.xls...

nästan 8 år ago | 1 answer | 0

Question

Indexing a cell, ignoring empty inputs?

I have a cell that looks like this: 'GS_L' 'OECF' 'DYNAMIC_RANGE' 'GS_R' 'OECF' 'DYNAMIC...

nästan 8 år ago | 1 answer | 0

Answered

Cropping image into multiple images at certain coordinates, but the positions need verification first

The main problem for now is that Matlab should show the crop-rectangles before actually cropping them, to verify if the rectangl...

Cropping image into multiple images at certain coordinates, but the positions need verification first

The main problem for now is that Matlab should show the crop-rectangles before actually cropping them, to verify if the rectangl...

nästan 8 år ago | 0

Question

Cropping image into multiple images at certain coordinates, but the positions need verification first

I have an image of a test chart that I scanned with a scanner. The thing I want to do is cut the image in to pieces (rectangles)...

nästan 8 år ago | 2 answers | 0

Answered

why I am not getting any license tough I am a Monash university student everyone in my class got MATLAB using the same procedure which I have been trying from last few days ?

Try contacting either your university support or mathworks support.

why I am not getting any license tough I am a Monash university student everyone in my class got MATLAB using the same procedure which I have been trying from last few days ?

Try contacting either your university support or mathworks support.

nästan 8 år ago | 0

Answered

FFT gives different answers according to what axis its applied to

fft behaves the same in: clc close all clear all A=rand(1,100); B=A'; X1=abs(fft(A)); X2=abs(fft(B));...

FFT gives different answers according to what axis its applied to

fft behaves the same in: clc close all clear all A=rand(1,100); B=A'; X1=abs(fft(A)); X2=abs(fft(B));...

nästan 8 år ago | 0

Answered

How to store plotted X and Y cordinates as an images

Press the save button on the plot, then select a desired image format.

How to store plotted X and Y cordinates as an images

Press the save button on the plot, then select a desired image format.

nästan 8 år ago | 0

| accepted