Beantwortet
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...

fast 8 Jahre vor | 1

Beantwortet
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 ...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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 ...

fast 8 Jahre vor | 1

| akzeptiert

Beantwortet
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. ...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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)?

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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>

fast 8 Jahre vor | 1

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

fast 8 Jahre vor | 0

Beantwortet
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 ...

fast 8 Jahre vor | 0

Beantwortet
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?

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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 ...

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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.

fast 8 Jahre vor | 2

Beantwortet
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...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 1

Beantwortet
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 ...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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 % ...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 0

Mehr laden