Answered
what is meant by GLCM MEAN (average) ?
so you have two means : left hand side and right hand side ( reference : the link above ), lets take an example : I=imread(...

13 years ago | 0

Answered
what is meant by GLCM MEAN (average) ?
GLCM stand for : Grey-Level Co-occurrence Matrix , More info/examples can be found in the following URL : <http://www.fp....

13 years ago | 1

| accepted

Answered
How to use two different scales on one same axis: logarithmic from 0.1 to 1 and linear from then on
hi, Joan The well known functions for plotting data with logarithmic scales are : semilogx,semilogy, and loglog for both x...

13 years ago | 0

Answered
Image not displaying exactly
nkumar, i see now how you want the blocks merged into single output, try this , clc,clear all I=rgb2gray(im2double(...

13 years ago | 0

| accepted

Answered
Convert Cell to string
hi, You can accomplish that by converting the cell to matrix first then coverting the matrix to string array B=num2str(cel...

13 years ago | 4

Answered
how to plot a 3d ship with random intensity values?
hi, That is great work, however i tried here a different approach % The length is 53 i incremented each vec with 1 to ge...

13 years ago | 0

| accepted

Answered
How to plot a functions in matlab
1. Using function handle : >>f=@(x) (exp(-x)./x)-(exp(-(2+x))./(2+x)) >>x=10:0.1:50; >>plot(x,f(x)) 2. Alternative u...

13 years ago | 1

Answered
Draw an arc between two points --> (x1,y1,z1) and (x2,y2,z2)
hi, you can try drawing a circle but restrict it into certain region, I started a code, try to adjust/enhance it : % D...

13 years ago | 1

| accepted

Answered
an image is captured containing a grid of 6*6 with different colors in it that is yellow,red, white and blue ,so to differentiate the colours from the grid and store in an array and to process them for real time working in MATLAB??
hi, you have to specify what type of differentiation you mean : r=round(10*rand(6)); % 6x6 colors dr=gradient(r); % di...

13 years ago | 0

| accepted

Answered
How to create low resolution images using high resolution image..??
hi, In the code below there is one incomplete line , it is the core of this task, Mathematically it is : ...

13 years ago | 0

Answered
Is centredFFT function really exist?
hi Nadiah , no its not built-in function, but wherever you found the program you must find the related material.. here is the fu...

13 years ago | 0

| accepted

Answered
Matlab won't open correctly and crashes
this is a problem related to JAVA, wether you need to install new JAVA and take the folder to merge with existing JAVA folder in...

13 years ago | 0

Answered
Removing NaN's from geoshow map
hi, I had the same problem before, i used to replace the NaN values only with 0.5 instead, but for your case if you truncate ...

13 years ago | 0

Answered
What is the mf ?
hi, they are constants (mf,nout, ndss) it depends on the system on which you want apply the ODE . AT least : you have to ...

13 years ago | 0

Answered
I'm new to Matlab and I'm completely lost with one of the programs that was assigned to me, please help!
hi, Your program has : Inputs : Half period L and number of iterations N . Outputs : A vector that approximates a squa...

13 years ago | 0

| accepted

Answered
repeat large number of vector elements
for i=1:length(c) V{i}=(i-1)*ones(c(i),1); end f=cell2mat(V(:))'

13 years ago | 0

Answered
Quantile function - different values in different versions of Matlab
hi, You can resolve this problem by simply opening the function "quantile" in Mat2011b copy it and past it in your directory "R...

13 years ago | 0

Answered
Setting plot legend properties
Jared, try to increase the Marker size first : plot(data,'.',...,'MakerSize',3.65) % x3.65 as example Line Style sp...

13 years ago | 0

Answered
Changing variable after each loop iteration
Yes, you can but your example is not clear using infinite loop and an input each iteration . for t=1:10 x=t; % each it...

13 years ago | 0

Answered
Ask about goertzel function m file download
hi, try this : function [power] = Goertzel(x,Fg,Fs,N) % Goertzel algorithm % % The Goertzel algorithm searches the...

13 years ago | 0

Answered
FFT code on time series?
hi Sam, in case you have verified the properties of the signal in the above comment,we can proceed as the following : We h...

13 years ago | 0

| accepted

Answered
FFT code on time series?
hi Sam, In the demo, they used 1000 and 127 because : t and y are of length 251, and they computed FFT resulting in same n...

13 years ago | 0

Answered
R2011a compatibility with Windows 8
hi Kevin, Before you install Math(c) go to setup,right click on it, and go to "properties" , next choose "Compatibility" and...

13 years ago | 0

Answered
how to calculate entropy of subband?
hi, did you try this : % Function entropy of grayscla image I = imread('circuit.tif'); J = entropy(I)

13 years ago | 0

| accepted

Answered
how to disable the picture
hi, your code does not produce any figure, but if you want, you can add the following at the end of your code : close...

13 years ago | 1

Answered
sqrt of elements of a vector
hi, Using a loop : for x=1:length(V) % A(x)=sqrt(V(x)); A(x)=V(x)^0.5; end Alternative sol : A=V.^0.5;...

13 years ago | 1

Answered
Taking a derivative of a function and plotting it over a specified length
hi Aaron you get error because because slope_meanline is numeric and you want to plot numeric vs symbolic , there are many...

13 years ago | 0

Answered
Solving under-determined matrix equations
Hi Subhra, try to check the lengths you assigned to vectors c,d ; Under-determined system means you have more variables and...

13 years ago | 0

Answered
Complex number and degrees
hi Jhon, i can not say why using cosd and sind gives only double not complex, but you can use exponential representation wh...

13 years ago | 0

Answered
Getting the amplitude back from FFT, how to ?
hi Nina, 1) the fft(x) is Finite Fourier Transform, the computation is fast when n=length(x) is the product of powers of smal...

13 years ago | 0

| accepted

Load more