Solved


radius of a spherical planet
you just measured its surface area, that is the input.

13 years ago

Answered
Help to generate radar chirp signal
Hi Mike , i suggest to take a look at this topic : <http://www.mathworks.com/matlabcentral/answers/62313-linear-chirp-signal...

13 years ago | 0

Answered
How can I do Fourier transform of a function using FFT , keeping information of both the amplitude and phase ??
Hi, Avinash, you can use this function : function z=Fast_Fourier_Transform(x,nfft) N=length(x); z=zeros(1,nfft); Sum...

13 years ago | 0

Answered
Finding maximum and minimum values of an array by specifying the range.
hi, data is 10000x2, assume that each day represents 10 readings then you have : 1000x2 "days" : You can adjust the loop to pi...

13 years ago | 0

Answered
To resample a 3D-mesh grid
Your code is incomplete, z is missing, repost .

13 years ago | 0

Answered
How to load multiple images and processing them?
Hi, i saw a similar question before, you can find the answer by searching , anyway : Suppose your images are "image1.jpg", "...

13 years ago | 2

Answered
Adding legend in a plot genereted by a loop
hi, you plot all the data first, and then manipulate the Legend using per example cells as shown below : for k = 1:length(O...

13 years ago | 18

| accepted

Answered
I have four 1x50 matrices and I want to save them to one 4x50 matrix. How can I do this?
Suppose your matrices are A,B,C,D all with size 1x50 : M=zeros(4,50); M(1,:)=A; M(2,:)=B; M(3,:)=C; M(4,:)=D;

13 years ago | 0

Answered
linear chirp signal generation ?
hi, try this : Fs=1000; % sample rate tf=2; % 2 seconds t=0:1/Fs:tf-1/Fs; f1=100; f2=400; % start @ 100 Hz, go up to 4...

13 years ago | 0

| accepted

Answered
Mathematical equations for DC machine model
type "DC" in the Help .

13 years ago | 0

Answered
Delete a cell by a criterion???
Your cell array is A of size m=31, n=12 , p=9 : for x=1:m for y=1:n for z=1:p if(...

13 years ago | 0

Answered
If we directly give the input instead of giving color histogram block what will happen?
hi, if you pass color histogram through what ? what system? The role of color histogram is that it compute the Probability d...

13 years ago | 0

| accepted

Answered
What is meant by color histogram? whats the difference between normal histogram and color histogram?
Color histogram : it computes the histogram for each channel of the image, like per example a RGB image, C.H computes hists for ...

13 years ago | 0

| accepted

Answered
What is the use of preprocessing of an image?
pre-processing of an image means "preparation" of the sample/image to introduce it to an algorithm for specified task : trackin...

13 years ago | 0

| accepted

Answered
returned T in spectrogram()
Hi Gabriel : I tested your code , it gives : >> T T = 3 5 7 9 11 13 15 17 19 ...

13 years ago | 0

| accepted

Answered
Simulating events of varying duration
An example : events=zeros(1,1000); for (t=0:1000) if mod(t,2)==0 events(t)=a; elseif mod(t,3)==0 ...

13 years ago | 0

Answered
How do I compute the confidence interval of this random variable manually?
HI promo, The code provided by "the cyclist" does exactly the task , Just as an addition, tape in the command Window : ...

13 years ago | 1

Answered
How to set the bars wider apart?
bar(data,width) your data is the vector "data" you plot it with specified width , example : bar(sin(0:0.01:10),0.2)

13 years ago | 0

Answered
I want a MATLAB code that will resize a given image into 50x50 image
Use "reshape" function, Warn : the number of elements must not change means for your initial image I of size(n,p), the number ...

13 years ago | 0

Answered
Undefined function or variable 'FSfarras'
add the function FSfarras in your MATLAB directory and try again : function [af, sf] = FSfarras % Farras filters organ...

13 years ago | 0

| accepted

Answered
How can I generate an image from a matrix?
Here is your solution : Red = [255 0 0]; Yellow = [255 255 0]; Green = [0 0 255]; Blue = [0 255 0]; Im = uint8(255) * on...

13 years ago | 1

Answered
How to graph ln(x^2)=0.7?
Hi , Sam Using Symbolic Math ToolBox : You define your variable x and your constant c ( in your case c=0.7) and solve y...

13 years ago | 0

Answered
How can I generate an image from a matrix?
Hi, add the property 'notruesize' to imshow function : imshow(Im,'notruesize');

13 years ago | 1

Answered
Problem of mathematics and programming
suppose your vector is V=[0 0 0 0 0 1 1 1 1 1]; to find the positions you try : [value,index]=find(V==0)

13 years ago | 0

Answered
how can make video from images.......
HI, take a look at the links they sent you . As an alternative answer here is how : Your fifty images must be labeled in ...

13 years ago | 2

Answered
Is my angular-reflector antenna code right?
p = input('insert d/lambda parameter from the interval 0.4 - 0.7: '); l = 'lambda'; d1 = p.*l; %beta factor beta=(...

13 years ago | 1

Answered
Which MATLAB function can remove the diagonal elements of a NxN matrix
hi, Jinlong Wei According to your example : Here is a function : function Z=diagrem(X) N=size(X); Z=X; if N(1)~=...

13 years ago | 0

Answered
How do I compute the confidence interval of this random variable manually?
HI, Try this modified version, : %KHMOU Youssef, Statistics :exmpl1 30/01/2013 5:00 AM N=1000; %sample=2.00+(3/1...

13 years ago | 0

Answered
Problem with the "Plot" function
Hi i think there is a problem, based on what you wrote : Z/d=h/w. and based on numerical values u gave h=w=20. in that cas...

13 years ago | 0

Answered
How to obtain time of arrival using MUSIC algorithm
UDBHAV JOSHI, 1.what is the length of the signal ( >7000 ?) ? 2.Did you try ordinary operations : autocorrelation, histo...

13 years ago | 0

| accepted

Load more