please give me the code for those question
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti

7 Commenti
Adam Danz
il 12 Lug 2018
Is this a homework question? How far did you get in trying to do this yourself? If you're stuck on something specific, I could help. For an example, if I want to write an equation for
x = [c + a sin(theta)]cos(alpha)
x = (c + a * sin(theta)) * cos(alpha)
MD NASIM
il 12 Lug 2018
Adam Danz
il 12 Lug 2018
Here's another example
r = a-b sin(b)
r = (a-b) * sin(b);
The parentheses around (a-b) are needed to preserve order of operations. The rest should be intuitive and you should used these examples to do your homework.
Guillaume
il 12 Lug 2018
@MD NASIM,
We won't write the code for you. The most efficient way to learn something is by going through the process of solving the problem, possibly failing and trying again.
Writing the code for you would only teach you how to copy/paste.
Now, if you have a particular problem with a specific point on your homework, something you don't understand, then we don't mind helping but you need to be clear what that problem is.
Steven Lord
il 12 Lug 2018
Show us what you've tried so far and we may be able to offer suggestions for how to improve that code.
Yettapu Vishnu
il 28 Ago 2020
- speech signal X(t) for less than 5 seconds. Using MATLAB,
a. Plot the signal X(t). Record
b. Pass the signal through a differentiator and plot the output signal Y(t).
c. Plot the power spectral density SY(f).
need code for this question a,b,c
Risposte (3)
Florian Floh
il 13 Lug 2018
Hello MD NASIM! As already mentioned, you can learn programming the fastest way, if you try it yourself (copying pieces of code does not get you anywhere. Make sure, you understand what you are coding!). However, if you have any difficulties, let me give you a place to start. The "spherical helix" would be done in this way: (now try to figure out the code for the other figures by yourself!)
% Set up the variable c
c = 5;
% make a vector ranging from 0 to 10*pi, separated into 100 equal pieces
phi = linspace(0,10*pi,100);
% Compute the coordinates (.* is the Hadamard product (elementwise multiplication))
x = sin(phi/(2*c)).*cos(phi);
y = sin(phi/(2*c)).*sin(phi);
z = cos(phi/(2*c));
% plot your results:
plot3(x,y,z);
If you want to know any further details of a Matlab function (i.e. 'plot') then type "doc plot" into your "Command Window".
Kind regards, Florian
Ravi
il 15 Ott 2023
0 voti
Simulate the diffraction gain. From the given geometry use the assigned values to compute the diffraction gain and compute the received signal power under diffraction which is P diff r (d) = Gd (ν) P LoS r (d). Here P LoS r (d) denotes received power under Line-of-Sight Condition.
Ravi
il 15 Ott 2023
0 voti
Compute the gain of antenna at the base station using the aperture value specified in the excel sheet. For free space propagation model, assume the gain of the receiver antenna as 1. The Tx-Rx separation distance range is df to 10000 × df , where df is the far-field distance of base station antenna. For two-ray ground reflection model set the distance as dT to 10000 ∗ dT , where dT = 20hthr λ .
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!