Answered
how to save the image as a RGB image???
hi sudha, finish your code by : filename='E:\MRP\accuracy\class1\rgbFixed.jpg' % as jpg file % or specifiy the director...

13 years ago | 0

Answered
I want a MATLAB code that will resize a given image into 50x50 image
hi, did you try my first answer using reshape ? You can try other methods , such as down_sampling like if you have an Image I...

13 years ago | 0

Answered
Need a matlab code for calling rows in MATLAB
hi, Given your D matrix : N=3; D2=D(1:N,:); % select N rows M=mean(D2) % M is vector that each elements j is th...

13 years ago | 0

Answered
How to specify the folder for wavwrite?
hi, you can put your file in directory you choose by the filename ,lets say you want save it the Desktop then : filename...

13 years ago | 0

Answered
How to create an color sample from calculated LAB value?
hi, i think they answered your question, but just try this : %i tried these values and the map is (cyan-like) Dark Blue ...

13 years ago | 0

| accepted

Answered
Constant Amplitude from a Sine Wave
hi Mark, So you are talking about square wave or Pulse train, there are many ways to generate or derive that signal from Cos/...

13 years ago | 0

| accepted

Answered
Estimation the system (A) for known input and output [Y = A * X]
Hi Payam, i am afraid A is not matrix but vector : lets try : n=10; X=rand(n,2); Y=rand(2,1); A=Y'/X; Error=(A...

13 years ago | 1

Answered
Best way to find a count in a range of numbers
hi Jared, you can select the range by many ways : r=rand(100,1); lowerbound=0.35; upperbound=0.75; 1.Solut° 1 : d...

13 years ago | 1

Answered
Quick Question - Wave Equation - what does N do?
hi, like Muthu said , its the number of Modes for Fourier series of that rope's movement, the only thing i want to add is tha...

13 years ago | 1

| accepted

Answered
how to identify the change in frames?
hi, you can use the gradient operator to identify the movement , but if the frames are very static then you can use elementar...

13 years ago | 0

| accepted

Answered
I need help with a loop.
hi Anna , there are many ways to control the inputs : try this : index=1; a=rand(1); b=rand(1); while (a~=0) ||(...

13 years ago | 0

Answered
Explain this while loop
hi Dave : Literally " Given a vector of length N, count the number of positive elements before the first negative one, a...

13 years ago | 0

Answered
Why the result of (1-0.6667)==0.3333 is zero in MATLAB? how can I get one?
hi may, This precision problem, so your numbers are 4 decimals , i suggest to make to make your logical test by multiplying...

13 years ago | 1

Answered
How to generate a sine curve?
hi, try : Fs=30; t=0:1/Fs:15-1/Fs; Amp=0.5; F=1; x=Amp*sin(2*pi*t*F); figure, plot(t,x)

13 years ago | 0

| accepted

Answered
Implement a Gaussian filter with its variance σ as a user input...
hi, try testing your own ideas, as a first test try to set a function Y= Gaussian_Filter(X,sigma) % So you have inp...

13 years ago | 0

Answered
how can i make a database of the images of hand .
hi himanshu, 1.You can contact some universities to send you some Standard databases for hand gestures, doing that, you will...

13 years ago | 1

| accepted

Answered
How to interpret the result of gabor texture
hi Mennu, your interpretation is correct because a two-dimensional (2-D) Gabor filter is linear and local. Its convolution ke...

13 years ago | 0

Answered
how i can do sub-sampling for an image with factor 4
hi , you can use the function " downsample" twice , example : I=imread('circuit.tif'); J=downsample(I,4); J=do...

13 years ago | 0

| accepted

Answered
How to put image into plot?
hi, i do not think you can put jpg file in the Line style , but you can use of the available options : 1 -* 2 -: 3 o...

13 years ago | 0

Answered
How to save current Image from Figure Plot
hi, in the figure go to "File", and "Save as " and save it with ".fig" .

13 years ago | 0

Answered
How to evaluate pdf for data containing NaN?
hi, if you are evaluating the PDF with hist, then the function automatically ignores the NAN values : or you can remove them lik...

13 years ago | 0

Answered
How to interpret the result of gabor texture
hi Meenu I am not specialist in the domain, but i know that Gabor filter ca be used for both Filtering (denoising) and for ed...

13 years ago | 0

Answered
creating a table in matlab
hi maya, this is not complete answer, so try to figure out how to print the 6 vectors : we create 2 random vectors or lets...

13 years ago | 0

Answered
Infinite Loop help Riemann sums
hi Kenny, your program works fine for most of cases Note : no need to declare syms x , I tried to to make some change ...

13 years ago | 0

| accepted

Answered
Problem with 3D plotting
hi, 1. You can use plot3 : >>B=rand(3,1); >>C=rand(3,1); >>D=rand(3,3); >>plot3(B,C,D) As size(D)=[3 3] then it ...

13 years ago | 0

| accepted

Answered
Advantages/Disadvantages of using and not using a gaussian filter
hi , For more details refer to : <http://www.intelligence.tuc.gr/~petrakis/courses/computervision/filtering.pdf> Propertie...

13 years ago | 2

| accepted

Answered
How to function a sum
hi Andre, are you trying to write a program that sums Parallel resistors , well you did nt define the whole parameters such r...

13 years ago | 0

Answered
Error using ==> get Conversion to double from cell is not possible.
hi, I think you get the error because you use "get" with cell . IF your variables a and b contains data with same type ...

13 years ago | 0

Answered
calculation of GLCM Mean
hi Jassy , there is an answer ( to check ...) in previous question, i repost it here anyway for further discussion/correctio...

13 years ago | 0

| accepted

Load more