Gelöst


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

mehr als 13 Jahre vor

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

Beantwortet
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", "...

mehr als 13 Jahre vor | 2

Beantwortet
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...

mehr als 13 Jahre vor | 18

| akzeptiert

Beantwortet
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;

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

Beantwortet
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(...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

Beantwortet
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 : ...

mehr als 13 Jahre vor | 1

Beantwortet
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)

mehr als 13 Jahre vor | 0

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 13 Jahre vor | 1

Beantwortet
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...

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

Beantwortet
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)

mehr als 13 Jahre vor | 0

Beantwortet
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 ...

mehr als 13 Jahre vor | 2

Beantwortet
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=(...

mehr als 13 Jahre vor | 1

Beantwortet
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)~=...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

| akzeptiert

Mehr laden