Beantwortet
Matlab Error: Matrices must agree
hi, a1 is unknown, but check this solution , although the code technically correct , the solution is empty : %dbstop if ...

etwa 13 Jahre vor | 0

Beantwortet
Finding Minimum value of radius
hi Suman Koirla, try this : The Volume is given by : V=(1/3)*r²*h, and the surface A=pi*r*sqrt(r²+h²) for V=10 m^3, we ...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Not sure what to do on this question.
hi, try his basic sol : % SCRIPT x=0:0.1:10; fprintf(' SELECT A FUNCTION TO PLOT :\n case1 : cos(x) \n case(2) ...

etwa 13 Jahre vor | 0

Beantwortet
Play last third of a wav file
hi, try : sound(y(2/3:end,Fs); % with Fs the sampling frequency % EDITED ANSWER ok Walter is right the answer...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Kalman Filter wind speed estimation
hi james, You can use interpolation method to estimate the missing values from your data, Concerning the Kalman Filter, yo...

etwa 13 Jahre vor | 0

Beantwortet
RECTANGLE using MESHGRID in MATLAB
hi, try : x=0:0.01:1; % 1 meter y=x; % square then . [X,Y]=meshgrid(x,y); Z=X*Y; % square table figure, surf(Z), sh...

etwa 13 Jahre vor | 0

Beantwortet
I'm trying to write a program that calculates the standard deviation of an array without using sum() or std() and I'm having problems
hi, try : aberration_waves=[0.213 0.531 0.605 0.448 0.972 0.054 0.889 0.247 0.128 0.711]; N=numel(aberration_waves); ...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
what's wrong with the code
modify, for i=1:n for j=1:n if (5<i<15 && 8<j<12 && j==i) d(i,j)=1; else d(i,j)=0; end end end

etwa 13 Jahre vor | 0

Beantwortet
How to do a MATLAB Assignment?
hi, Unless you are asked to put your programs in GUI, you dont need Graphical user interface : you start by creating your...

etwa 13 Jahre vor | 0

Beantwortet
Help with using IFFT to calculate radial distribution function g(r) ! PLEASE help
can you try "trapz" as example ? r=(0:0.1:2)*1e-9; % distance in NM rho=5e-3; % charge density maybe . K=1./(2*pi^2...

etwa 13 Jahre vor | 0

Beantwortet
how to convert cell to matrix
hi, try cell2mat : M=cell(4); M{1}=4; P=cell2mat(M),

etwa 13 Jahre vor | 0

Beantwortet
How to use low pass flter for time domine data
hi, you can use built-in functions "butter" and " filter" , example : Fs=8000; % SAMPLING FREQUENCY t=0:1/Fs:2; f1=500; ...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
I want to simulate ECG signal using loop on MATLAB.
hi, I propose you use this function (Author : Floyd Harriott 2002) : <http://www.physionet.org/physiotools/matlab/ECGwaveG...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
how do i calculate motion for x-ray images ?
hi Raisul, I am not specialist in 2D-Xray Motion, but i propose a way out : % Lets work with an example : Magnetic Resonan...

etwa 13 Jahre vor | 0

Beantwortet
Putting visual marker in an image
hi Con You can use 'gtext', and put the dot in a position you want , example : X=imread('circuit.tif'); imshow(X), g...

etwa 13 Jahre vor | 0

Beantwortet
Functions handle (product of functions)
hi, why dont you use one single function handle : >>G=@(fi) 2*sqrt(5/8)*atan(sqrt(45).*fi)*10.*(fi.^2) % This is X*H >...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Matlab turns scalar parameter into array when numerically integrating
hi Fabian I think the error( besied i do not own the "integral" function) is that your function returns a matrix , but integr...

etwa 13 Jahre vor | 0

Beantwortet
Add more nan values
hi try this standard version : % Given A = [5 5 5 5; 5 NaN 5 5; 5 5 5 5]; [N]=size(A); for x=2:N(1)-1 ...

etwa 13 Jahre vor | 0

Beantwortet
sum of a series
hi, what is Y[nT]? random variable? N=1000; a0=2.36; a1=4.56; a2=5.57; y=randn(N,1); v=zeros(N,1); v(1:2)=y(...

etwa 13 Jahre vor | 1

Beantwortet
How can I generate signals with in Maltab?
hi, 1)Concerning Wideband Gaussian signal, you can pick up a Generalized Gaussian Pulse: alpha=10; E0=1; Fs=100e+6; ...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Matrix is singular, RCOND=NAN
hi, The determinant of the matrix bC is close to zero, you have to alter bC .

etwa 13 Jahre vor | 1

Beantwortet
Why there is a modulation in case of frequency offset?
hi Alex, Your question is acceptable, you expect to visualize the Demodulated signal as the original, but the Doppler shift a...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
imwrite plots not saving
hi, use the commande 'print' example , figure, plot(randn(100,1)); print(figure(1),'C:\users\.......\your_image.jpg'...

etwa 13 Jahre vor | 0

Beantwortet
RE:Resizing an Image
HI, try : % Given your image I I=imread('circuit.tif'); 1) Using imresize : X=imresize(I,0.5); 2)or try down...

etwa 13 Jahre vor | 0

Frage


Function for Generating bistochastic matrix ?
Bistochastic matrix P is matrix where the sum each column or each row is 1, and aslo for n>=0 P^n is also bistochastic, A...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
matlab: Subscripted assignment dimension mismatch...i can understand why it is showing but cannot get a solution
hi, you have : i=0.2:0.2:0.8; % as your loop The length is 4, then initialize the matrix Pw as : Pw=zeros(4,3);...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
how to make a 3d plot with x,y,z, coordinates and data (t)
hi , as you want to visualize t ( t as function of x and y t=F(x,y)) then i suggest this trick , i show it based on an exam...

etwa 13 Jahre vor | 0

Beantwortet
help me solve this transdental equation using matlab ?
try, this , Warning : it computationally heavy!!!! % This is Non linear system % lets take 2*vdc/n*pi=1 for simplificatio...

etwa 13 Jahre vor | 0

Beantwortet
how to make a 3d plot with x,y,z, coordinates and data (t)
hi, try plot3(x,y,t); scatter3(x,y,t,'r'); % z is constant !

etwa 13 Jahre vor | 0

Beantwortet
how to programm with matlab
hi brave, start with small tutorials in the web, then choose a book to read of Mathworks specialized in your field, for examp...

etwa 13 Jahre vor | 0

Mehr laden