回答済み
How do I use an If-statement when using RK4?
<</matlabcentral/answers/uploaded_files/110019/Pestpredictor.PNG>> Is this what you want to do? I am having a bit of a diffic...

約8年 前 | 1

回答済み
Hi I have this equation with two integration constants
Let us note that in my analysis I did not assume anything about n being an integer. Rather, it was the fraction of (1+n)/n that ...

約8年 前 | 0

回答済み
Hi I have this equation with two integration constants
I get your point and reasoning. The truth is that I am no longer dealing with N directly (N is no longer taken as a whole number...

約8年 前 | 0

回答済み
How do I use an If-statement when using RK4?
You actually did not mention the condition. Can you say exactly what the condition is? We know what will happen, but we need to ...

約8年 前 | 1

| 採用済み

回答済み
How to program a nested loop with a matrix?
Hey Rose, since the size of your matrix is going to be 4x4, you will need to do the following to achieve your goal. 1. ...

約8年 前 | 0

| 採用済み

回答済み
Hi I have this equation with two integration constants
Hey Sako, I think Walter has done an excellent job in helping you tackle your equation above. I would like to take a slightly di...

約8年 前 | 0

回答済み
How do I code this 1D heat equation using MATLAB to find the temperature distribution?
What is the expression for s(x) and the initial condition for the temperature, i.e T(x,t=0) = T(x)?

約8年 前 | 0

回答済み
Hi, how can I calculate an impulse response of the LTI system, for a given function : y[n] - 0.5*y[n-1] = -0.5*x[n] + x[n-1]
I hope this will be of some help. <</matlabcentral/answers/uploaded_files/109732/Hz.PNG>> b = [1, -.5]; a = [-.5...

約8年 前 | 1

| 採用済み

回答済み
Can someone please help me(provide me) with Bilinear LMS algo along with MATLAB code?
Hey Anuj; I wrote a function based on your algorithm and tested it on a channel estimation problem. The image below is a sample...

約8年 前 | 0

回答済み
Can someone please help me(provide me) with Bilinear LMS algo along with MATLAB code?
There are different formulations of the bilinear lms algorithm on the Internet. Perhaps you can post the one you are working wit...

約8年 前 | 0

回答済み
Hi, how can I calculate an impulse response of the LTI system, for a given function : y[n] - 0.5*y[n-1] = -0.5*x[n] + x[n-1]
Look here.<https://www.mathworks.com/matlabcentral/answers/386745-how-can-i-find-y-n>

約8年 前 | 1

回答済み
3D surface plot help
This is what I came up with. I hope this helps. clear variables close all % Define parameters tau_r = 345e...

約8年 前 | 0

回答済み
I have to make code for the following but don't know how to use put sigma into matlab
This might help, try to understand how the for loop works, it is the basis of programming. clear variables close all ...

約8年 前 | 0

回答済み
3D surface plot help
It's difficult to figure out the the exact expression for R2 among those parenthesis. Can you post the equation instead?

約8年 前 | 0

回答済み
Matlab code for the Formula
Hey Rasel, your code was almost right. You made just a few errors, instead of initializing the sum as you did, you should have j...

約8年 前 | 0

回答済み
Contour not plotting correctly in MATLAB--works in Mathematica
Hey Emma, what happens if you divide by zero, looks like you are doing just that (S and F will become zero at some point in you...

約8年 前 | 0

| 採用済み

回答済み
Filer the noise from a signal
Hey Ben, the images of your filtered signal look quite good from my point of view. When you recover a signal from noise, it is i...

約8年 前 | 0

回答済み
How to fix: Index Exceeds Matrix Dimensions
Hey Ahmad, it looks like you have created more space for the data than you are trying to store in komp1. Komp1 is sized 801 by ...

約8年 前 | 0

回答済み
how can i perform a Fourier series on this function?
Here is the full solution to your problem. Good luck.

約8年 前 | 0

| 採用済み

回答済み
how can i perform a Fourier series on this function?
<</matlabcentral/answers/uploaded_files/109174/F-series.PNG>> Mohammed, if you calculate the coefficients of the Fourier seri...

約8年 前 | 0

回答済み
how can i perform a Fourier series on this function?
Hey Mahammed, instead of calculating the Fourier series like you did in matlab, why don't you calculate the coefficients by hand...

約8年 前 | 0

回答済み
Heat transfer equation in transient case - computing the result with triple summation - for loop
Hi Michael, I hope you have been able to come up with a solution to your heat transfer equation. If not, I have a simple questi...

約8年 前 | 0

回答済み
Filer the noise from a signal
There are various methods of filtering signals of which the the matlab built in function filter should be good enough for cleani...

約8年 前 | 0

回答済み
how to plot fourier series in matlab
The is the solution file, the math is a bit messy, but I assume that you are familiar with the material that you are studying.

約8年 前 | 2

回答済み
How can I Implement a convolution function in MATLAB and perform it on the following signals and plot the results ?
Hey Vaban, you already got a code that implements convolution in matlab, all you need to do is to use it to solve your exercises...

約8年 前 | 0

| 採用済み

回答済み
Heat transfer equation in transient case - computing the result with triple summation - for loop
Michael, You seemed to be on the right track, however, your temperature is a function of time. I see that you set t equal to a...

約8年 前 | 1

回答済み
hello, I am trying to evaluate a summation series from n=1:1:400. The expression inside the summation needs to be evaluated for various inputs L=0.5:0.1:3 and alpha=0:0.1:1. can any one help?thank you.
clear varianles; close all; n = 1:400; L = 0.5:0.04:3; alpha = 0:0.04:1; N = length(n); M = length(L); C ...

約8年 前 | 0

| 採用済み

回答済み
Nested For loop to test two data sets
d = 1:5; Q = 10:15; N = length(d); M = length(Q); v = zeros(1,M); A = zeros(N,M); for i = 1:N f...

約8年 前 | 0

回答済み
How do I solve these differential equations using a while loop?
i = 1; while i <= n-2 i = i +1; % write all your code % here. This will produce % ...

約8年 前 | 0

| 採用済み

回答済み
How do I solve these differential equations using a while loop?
clear variables close all % Define parameters dt = dt; t = t0:dt:tf; n = length(t); m = m; thx = thx...

約8年 前 | 0

さらに読み込む