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

más de 6 años hace | 1

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 1

| aceptada

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 1

| aceptada

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 1

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 2

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 1

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 0

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 0

Cargar más