답변 있음
How to find angle between 2 3D vectors?
hi, is it atan or cos^-1 (acos) because the scalat product is : V.U=||U||.||V||.cos(U^V);

거의 13년 전 | 0

답변 있음
How can I plot multiple 2D contour plots on a single 3D plot?
You can use surf function as this example : [x,y]=meshgrid(-1:0.1:1); z=cos(x)+sin(y); figure,surfc(x,y,z);

거의 13년 전 | 0

답변 있음
Find consecutive values in a vector that are above a threshold
hi you can find function with multiple output that show the indices : v=1:10; [r,c]=find(r>5); c represents the indice...

거의 13년 전 | 0

답변 있음
how do i reverse a vector
hi, To reverse a vector try the function ' wrev' , here is an example : r=wrev(1:4) If you to control the degree of r...

거의 13년 전 | 2

| 수락됨

답변 있음
how to change the images into 3d
try surf, here is example : I=im2double(imread('circuit.tif')); surf(I); shading interp

거의 13년 전 | 0

답변 있음
surface plasmon field scans an optical fiber field
hi Naema, I tried the code, but i can not see the result because the data is missing , we do not have the folder : K:\inve...

거의 13년 전 | 0

| 수락됨

답변 있음
Attempted to access y(2); index out of bounds because numel(y)=1
hi y's length must >2 : try : H=sir_model(t,rand(2,1));

거의 13년 전 | 0

답변 있음
Distribution graph velocity : how to make simple paraboloid of revolution?
hi, i think your method works for this type of problems, try : N=40; % Discretization Vmax=20; % 20m/s x...

거의 13년 전 | 0

| 수락됨

답변 있음
Distribution graph velocity : how to make simple paraboloid of revolution?
hi here is an example before staring to answer the problem : the veolcity is defined as : V(r)= Vmax*(1-r²/R²), R is the ...

거의 13년 전 | 0

답변 있음
convert Vector into matrix ?
hi, here is the best solution without using loops : N=32; A=1:N; B=repmat(A,N,1); A2=(0:N-1)'; B2=repmat(A2,1,N);...

거의 13년 전 | 0

답변 있음
convert Vector into matrix ?
hi, there are other alternatives , : try : N=32; A=1:N; A2=0:N-1; A2=A2'; B=repmat(A,N,1); for x=1:N B(:,x)...

거의 13년 전 | 0

답변 있음
convert Vector into matrix ?
hi Alex This is not conversion but you are adding new elements to the original vector : If you have a vector of size Mx1 ...

거의 13년 전 | 1

| 수락됨

답변 있음
How to evaluate dirac function in matlab?
hi The dirac function accepts only one argument (at least for earlier versions than yours) however, if you do not have the s...

거의 13년 전 | 0

답변 있음
How to zoom in/out on an axis programmatically
hi, There is a function "zoom" with the following options : zoom on zoom off zoom out zoom reset zoom xon zoo...

거의 13년 전 | 2

| 수락됨

답변 있음
Adaptive vs Non Adaptive Filters
hi, i think that : The adaptive filter is usually linked to dynamic systems , the time is involved in the equations, so the f...

거의 13년 전 | 0

답변 있음
How to time shift a signal
hi, try : clear all; close all; clc; fc=30e3; for n=1:3 tc = gauspuls('cutoff',fc,0.4,[],-40); t = -tc : 1e-7 : tc; y...

거의 13년 전 | 1

답변 있음
Numerical Integration of Equally Spaced Data
hi David, I think using trapz integrator with the x/t axis gives good result, in the mean wile try to interpolate your data t...

거의 13년 전 | 0

| 수락됨

답변 있음
How can I change symbolic displays to decimal displays?
hi, Maria, If you want to display decimal ( floating point) numbers try : >>format long % or format short If you wa...

거의 13년 전 | 2

답변 있음
how to provide video (Heigh x Width x frames)
hi Ren, i think you have to explain a little more your situation, are you working on existing Video or image sequences ? or ...

거의 13년 전 | 0

답변 있음
how to create a series of changes over the loop variable and can assign a value to it
try : n=1:30; A=n; for r=1:length(n)-1 B(r)=A(r+1)+A(r); end plot(A), hold on, plot(B)

거의 13년 전 | 0

| 수락됨

답변 있음
Equation of a constrained circle
hi try to verify this initiation : the first circle is defined by : a=37;b=-7;r=38; We are looking for new circle ...

거의 13년 전 | 0

답변 있음
How to make multiple sinc functions?
hi, Try the code provided by Image analyst, or try also this version : % different positions for peaks x = -5:.01:5; ...

거의 13년 전 | 0

답변 있음
How to creat a sparse matrix?
hi, i think you have to transform your matrix from Unsigned integer 8 to double, try : G=sparse(im2double(a)); % or si...

거의 13년 전 | 0

답변 있음
Calculating autocorrelation on time series data
hi Sajeewa, try : c=xcorr(distance,'biased'); % biased estimate

거의 13년 전 | 0

답변 있음
Solving Second Order Differential Equation !
hi, The damped oscillation can be obtained by changing the sign of the constant d : d=0.271;

거의 13년 전 | 0

| 수락됨

답변 있음
How do I detremine the directions of maximum radiation and generate a plot of the normalised radiation intensity?
hi Rama, The radiation pattern can be computed in two regions, Near Field and Far field, Here is version i made for la...

거의 13년 전 | 0

| 수락됨

답변 있음
how i make testing even and odd signals ?
hi, The signals are causal, they all start at [t=0,Inf] because we multiply them by Heaviside function, unless you consider t...

거의 13년 전 | 0

답변 있음
Subscript indices must either be real positive integers or logicals.
hi Isabel You obtained that error because the variable position corresponds to the Numberical maximums not the Index or 'posi...

거의 13년 전 | 0

제출됨


Dual Frequency, Touch-Tone
Touch-Tone :Frequency analysis with FFT.

거의 13년 전 | 다운로드 수: 2 |

5.0 / 5
Thumbnail

답변 있음
"if condition not worked"
hi, The cylist just answered , anyway you need "AND" Boolean operator : if (Vmin(:,:) < V(:,:)) && (V(:,:) < Ma(:,:)) ...

대략 13년 전 | 0

더 보기