Beantwortet
Calculate the volume of the area enclosed by the following vectors.
hi, like other users said , you need to understand that i,j,and k represent the Unitary vectors for Orthonormal basis -> -> -...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Having trouble modelling 2-dimensional transient heat transfer
hi, please, change the duration as : tspan=[0:4:7200]; and after running the file, type in the command prmpt : surf(T...

mehr als 13 Jahre vor | 0

Beantwortet
Find Critical Mach number graphically
hi Kyle : try this : Cpo = -0.65; Mcr = linspace(1,8,20); Minfin = linspace(0,1,20); Ccrit = (2./(1.4*Mcr.^2)).*((((...

mehr als 13 Jahre vor | 0

Beantwortet
How can I create a 3D matrix with values every 3rd/6th/9th row?
clc, close all N=11; a=rand(N); for i=1:N if mod(i,3)==0 a(i,:)=0; a(:,i)=0; end end fprintf(' Original...

mehr als 13 Jahre vor | 0

Beantwortet
how can i force a matrix to be positive sime-definite matrix?
hi, arkedia, like Jan said you can take mvnrnd(A*A) if A is square or A*conj(A') otherwise and A*A~SIGMA , but if A is an a...

mehr als 13 Jahre vor | 0

Beantwortet
how to evaluate a symbolic function in matlab
Kamuran, to get better approximation you need to increase the sample rate in x and interpolate : x=[ -1 -0....

mehr als 13 Jahre vor | 0

Beantwortet
help finding vector slope
Try this : Fs=1000; T=(0:1/Fs:20-1/Fs); V=zeros(1,length(T)); t1=3; t2=5; g1=7; g2=4; for t=1:length(T) ...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
help finding vector slope
hi, you have to declare all variables in your example like others said so as to examine the code , but now details are missing ....

mehr als 13 Jahre vor | 0

Beantwortet
plotting libnez taylor series
AngelsaAtWar : You have to re-post the question with the function you want use and give a general index forumla : here i...

mehr als 13 Jahre vor | 0

Beantwortet
how to evaluate a symbolic function in matlab
hi, you can use function_handle : func=@(x) cos((pi*x).^4) x=0:100; % example of vector x . RHS=diff(func(x),2);

mehr als 13 Jahre vor | 0

Beantwortet
How to use if elseif, if
Hi try this : BMI=input(' Enter BMI : '); if(BMI<18.5) classification='underweight' elseif(18.5<BMI && BMI<24.9)...

mehr als 13 Jahre vor | 0

Beantwortet
How to Normal Distribution and Statistics of Image using FFT (or any other method)
hi, the image you attached above contains only discrete line ? I can not tell much about the image anyway : 1) You can ...

mehr als 13 Jahre vor | 0

Beantwortet
How to solve equation min||wij ||subject to ||Cp-Pij ||22 ≤є what function to use ?
hi, Alex, i had once a program called "Simplex" but i lost it, anyway the best function is linprog : Let us take an example :...

mehr als 13 Jahre vor | 0

Beantwortet
need help in random sampling of all possible combinations
hi, You can create a cell in which you can store all your variables (2,Gr2,Gr4,...) (cell because you have heterogeneous dat...

mehr als 13 Jahre vor | 0

Beantwortet
sorting a time series
hi, you apply directly the function Zt=F(Yt) as : (Yt,Yi) =>: F(Yt,Yi)=(Zt,Zi)

mehr als 13 Jahre vor | 1

Beantwortet
To take the partial derivative of a function using matlab
hi , you can use "gradient" : [dF_x,dF_y]=gradient(F); subplot(1,2,1), imagesc(dF_x), title(' dF(x,y)/dx') subplot(1,...

mehr als 13 Jahre vor | 1

Beantwortet
How to make a loop run multiple times for different values of a variable.
hi, Tom As you want to get 1200 differents values of alpha then you have to create an N by 1200 matrix : N=50 a...

mehr als 13 Jahre vor | 0

Beantwortet
passing lots of variables between function efficiently?
You create your variables in the workspace and save them with "save command" , per example if you create two variables a and b,...

mehr als 13 Jahre vor | 0

Beantwortet
plotting libnez taylor series
esult=0.0 ; signchange= 1; for k = 1:1:value term = signchange * 4/(2*k-1); result = (result + term) signchange =...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Trying to get magnitude of freq domain
hi, Aaron, The response that "ImageAnalyst" gave is correct but it shows wrong frequencies, Here is the code to produce ...

mehr als 13 Jahre vor | 0

Beantwortet
Using a heatmap to display a large value range with detail
HI, suppose your final data is R , try to plot it in dB: imagesc(10*log10(R)); surf(20*log10(R)); If there are element...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Altering intensity levels within an image
hi, you can use the function : J = imadjust(I,[low_in; high_in],[low_out; high_out],gamma) for an example see : doc i...

mehr als 13 Jahre vor | 0

Beantwortet
Need help with FFT2
hi Sam, In your question you said that you apply the transformation on png or jpg sample with numbers between 0 255, so its o...

mehr als 13 Jahre vor | 0

Beantwortet
How to take time, angle and speed and plot them to see the course taken?
hi, I think you should use plot3 : plot3(time,position,velocity) As the initial position is mentioned , i think you have...

mehr als 13 Jahre vor | 0

Beantwortet
time-lagged correlation coefficient between two time series
hi,i propose two ways : 1)as you have to series P1, P2 of length N both: y=xcorr(P1,P2); % Len= 2*N-1 plot(y) 2)Or...

mehr als 13 Jahre vor | 0

Beantwortet
Need help with FFT2
Hi, as others mentioned above , when you perform the FFT2, the first element F(1,1) contains the sum of all elements of the 2d ...

mehr als 13 Jahre vor | 0

Beantwortet
Infinite series for pi
hi, You can use loops to get the value pi=22/7, so it is an infinite serie, you specify in your software the format short to sh...

mehr als 13 Jahre vor | 0

Beantwortet
How can I create a 3D matrix with values every 3rd/6th/9th row?
hi, for the second time ,re-write your question, anyway based on your non organized question, here is what you ask for : N=...

mehr als 13 Jahre vor | 0

Gelöst


Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

mehr als 13 Jahre vor

Gelöst


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

mehr als 13 Jahre vor

Mehr laden