Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please Write the function and the script and please have it working I will upvote if done correctly please I need this answered properly not

Please Write the function and the script and please have it working I will upvote if done correctly please I need this answered properly not just an explanation, please complete I will upvote if done correctly. I have provided everything you need and please use matlab and have a screen shot of the code workign along with the whole code so I can use it please so that it may work thank you.

image text in transcribed

image text in transcribed

image text in transcribed

Modify the rf_2_if function as follows and submit to D2L: (download the code first) a. Rename to _get_rangeLoss.m b. Calculate the 1-way range loss in dB with interface as follows (use your name) [rangeLosslway_db] = fudge_get_rangeLoss (freq_mhz, distance_km) c. Input is carrier frequency in MHz and distance in km; output is 1-way range loss in dB d. Optional bonus: add 2nd output argument for 2-way range loss in dB Develop and submit to D2L a script (_demo_rangeLoss) as follows: a. Develop a stand-alone demo that demonstrates your range loss function b. You decide on how best to do the demo, but you should use at least two subplots - For typical homework with both function and demo script - 30 points: Function correctly computes desired function - 30 points: Demo correctly runs - "Correctly runs" includes using figure(figNum), figNum = figNum +1; clf - "Correctly runs" includes using plotPositionWide_v to set the plot position - 10 points: Demo and script are named correctly - 10 points: Code has appropriate header info and reasonable comments - Function input / output should be described in header - 10 points: x-axis, y-axis, title, legend all complete and accurate on demo plot(s) - 10 points: Demo figure is properly labeled using label_plotEdges - Demo name - If you load a data set, then name of data set (else use blank string ' ') - Student name - These are general guidelines - I will adapt to each assignment as necessary How I test your code: - I use a script that loops through the expected demo names - If my script crashes, I check which student's code caused it to crash - If figures are not good, I check which student didn't do their figures correctly - The script will crash if - Your demo is not named correctly - Your demo crashes - Anything your demo calls crashes - The plots may not be correct if - You forget to use figNum properly - This might cause another student's figure to be corrupted - You forget to clf before plotting - This might cause your figure to be corrupted if plotting on top of existing figure

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions