Feeds
답변 있음
Derivative constraint in curve fitting
If you absolutely have to make sure your constraints are met, you have to change your fitting equation so that all possible solu...
Derivative constraint in curve fitting
If you absolutely have to make sure your constraints are met, you have to change your fitting equation so that all possible solu...
4년 초과 전 | 0
답변 있음
Help starting two dimensional vector plot (meshgrid and quiver) problem
Use the maxwell equation to determine the D inside the cable. Hint: define gaussian surface which is a concentric cylinder with...
Help starting two dimensional vector plot (meshgrid and quiver) problem
Use the maxwell equation to determine the D inside the cable. Hint: define gaussian surface which is a concentric cylinder with...
4년 초과 전 | 1
답변 있음
How do I draw an antenna pattern 2D and 3D figure with this data?
You have insufficient data to plot a 3D Figure, as it would require a measurement for every observation angle (combination of az...
How do I draw an antenna pattern 2D and 3D figure with this data?
You have insufficient data to plot a 3D Figure, as it would require a measurement for every observation angle (combination of az...
4년 초과 전 | 1
| 수락됨
답변 있음
How to deal with repeated data in a column of a table
It sounds like you're looking to remove repeating elements that are adjecent. If that is the case, you can test your array for d...
How to deal with repeated data in a column of a table
It sounds like you're looking to remove repeating elements that are adjecent. If that is the case, you can test your array for d...
4년 초과 전 | 0
| 수락됨
답변 있음
Modify and speed up a for loop
The last line can be brought outside the loop like so Mat_appo = zeros(N,N,K); for k=1:K Mat_appo(:,:,k) = (u(:,k)*u(:,k)'...
Modify and speed up a for loop
The last line can be brought outside the loop like so Mat_appo = zeros(N,N,K); for k=1:K Mat_appo(:,:,k) = (u(:,k)*u(:,k)'...
4년 초과 전 | 0
답변 있음
what command should i use to have real part of the eigenvalues of the matrix in symbolic form
Use the sym command when defining the matrix m=sym('m') n=sym('n') A=sym([0 1 1/sqrt(3*n*m); 2 4 2/sqrt(3*n*m); 3 4 5/sqrt(3...
what command should i use to have real part of the eigenvalues of the matrix in symbolic form
Use the sym command when defining the matrix m=sym('m') n=sym('n') A=sym([0 1 1/sqrt(3*n*m); 2 4 2/sqrt(3*n*m); 3 4 5/sqrt(3...
4년 초과 전 | 0
| 수락됨
답변 있음
How to use ODE 45 to integrate equations of motion?
First, you need to write down your equations of motion. In your simple case, you have: with initial conditions Of course, ...
How to use ODE 45 to integrate equations of motion?
First, you need to write down your equations of motion. In your simple case, you have: with initial conditions Of course, ...
4년 초과 전 | 0
답변 있음
Calculate the mean of nonzero pixels
Replace the last line by meanval = mean(nonzeros(masked_volume)); That said, are mask and volume the same size? Those for loo...
Calculate the mean of nonzero pixels
Replace the last line by meanval = mean(nonzeros(masked_volume)); That said, are mask and volume the same size? Those for loo...
4년 초과 전 | 0
답변 있음
Help! Trouble understanding differential equation.
Your differential equation is time-dependent, with given g(t). Ode45 works iteratively, and calls the function more than once wi...
Help! Trouble understanding differential equation.
Your differential equation is time-dependent, with given g(t). Ode45 works iteratively, and calls the function more than once wi...
4년 초과 전 | 0
| 수락됨
답변 있음
Need help with cutting 37 seconds off from start of wav file.
[y,fs] = audioread(filename); filename = 'C:\Users\ajbaf\Music\mlabpost\wm7001.wav'; y(1:37*fs,:) = []; %% this deletes the ma...
Need help with cutting 37 seconds off from start of wav file.
[y,fs] = audioread(filename); filename = 'C:\Users\ajbaf\Music\mlabpost\wm7001.wav'; y(1:37*fs,:) = []; %% this deletes the ma...
4년 초과 전 | 0
| 수락됨
답변 있음
Resampling two signals to the same sampling time and length
Interp1 should work fine here if size_input is the number of samples of your input, and size_output is the number of samples of...
Resampling two signals to the same sampling time and length
Interp1 should work fine here if size_input is the number of samples of your input, and size_output is the number of samples of...
거의 5년 전 | 0
| 수락됨
질문
How do I change all the elements in matrix with an index larger than a certain number to zero?
I have trouble making a certain matrix even though it seems trivial. For my code I need to make a 4-D matrix A with dimensions ...
대략 9년 전 | 답변 수: 1 | 0