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

mehr als 7 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 ...

mehr als 7 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...

mehr als 7 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 ...

mehr als 7 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. ...

mehr als 7 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...

mehr als 7 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)?

mehr als 7 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...

mehr als 7 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...

mehr als 7 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...

mehr als 7 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>

mehr als 7 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...

mehr als 7 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 ...

mehr als 7 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?

mehr als 7 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...

mehr als 7 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...

mehr als 7 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...

mehr als 7 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 ...

mehr als 7 Jahre vor | 0

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

mehr als 7 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...

mehr als 7 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...

mehr als 7 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...

mehr als 7 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...

mehr als 7 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.

mehr als 7 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...

mehr als 7 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...

mehr als 7 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 ...

mehr als 7 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...

mehr als 7 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 % ...

mehr als 7 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...

mehr als 7 Jahre vor | 0

Mehr laden