Question

I want to see the work written out because I do not understand how a for loop works without running it on MatLab

0 0
Add a comment Improve this question Transcribed image text
Answer #1
d =   2 1 6 9 18

Initially d = -2 -2 -2 -2 -2

m = 1
x = 0
y = -1
z = 1
d = 2 -2 -2 -2 -2

m = 2
x = 1
y = 1
z = 0
d = 2 1 -2 -2 -2

m = 3
x = 4
y = -1
z = 5
d = 2 1 6 -2 -2

m = 4
x = 9
y = 1
z = 8
d = 2 1 6 9 -2

m = 5
x = 16
y = -1
z = 17
d =   2 1 6 9 18

Add a comment
Know the answer?
Add Answer to:
I want to see the work written out because I do not understand how a for...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • yes you will need matlab software Can someone please help me. attached is the exercise i...

    yes you will need matlab software Can someone please help me. attached is the exercise i am doing in matlab. also attached is the exercise that i am suppose to be doing.also attached is part a of my code and part b. also attached is an error code i am getting. can someone please help me with this. thanks. explain in detail what i am doing wrong and what i need to do to fix it. you use enogn polnts...

  • Can you please write this code in different way because this is for my friend and i want to chang...

    can you please write this code in different way because this is for my friend and i want to change it to submit it other wise we both will get zero i attached also the question down also i am not sure of his answers so just try to solve it and your trial will be so apprciated anyway thanks for your time and efforgts :- the question was From Maxwell's equations we have, 0B From this expression, we need...

  • hi which code should I use to get the following matrix and be able to change...

    hi which code should I use to get the following matrix and be able to change the number of rows. the code in the picture doesn't work for me for some reason. thank you. I use matlab program it needs to look like this and be a 10 by 10 matrix. 40 SC Matrix C sym (zeros) C(1,1) = 1; tsets the element 1,1 to be egy 42 - 44 - 45 - 46 - for n = 2:N starts...

  • please help me understand this. I will greatly appreciate a fully detailed answer as I want...

    please help me understand this. I will greatly appreciate a fully detailed answer as I want to understand this problem than just get the answer. Thanks. Random variables X and Y arejointly Gaussian with 2] 4 -4 m=[1 1. Find the correlation coefficient between X and Y. 3. Find the PDF of Z.

  • help me please , By using MATLAB How can I plot the solution of linear diffrential...

    help me please , By using MATLAB How can I plot the solution of linear diffrential system ? I want the code in general case We were unable to transcribe this imageclose all clear MATLAB Code: clc A= [1 0 1; 0 0 0;00-1]; % Coefficient Matrix Xo = [5 76]'; % Initial condition V, D = eig(A); % Get the Eigen values and Eigen vectors % General Solution: X=Sum of {c_i*exp(L_i*t) *V_i % where c_i are constants, L_i are...

  • I dont understand how does the graph what I drew works.. Example 4.6 Construct the root-locus plots of so closed-loop equations with numerical values of the more common (5) A second-order syst...

    I dont understand how does the graph what I drew works.. Example 4.6 Construct the root-locus plots of so closed-loop equations with numerical values of the more common (5) A second-order system with different open-loop zeros 1 + Kc-s +0.5 ·ьзу 나ㅡ う. のm 1K+ 1.5 Example 4.6 Construct the root-locus plots of so closed-loop equations with numerical values of the more common (5) A second-order system with different open-loop zeros 1 + Kc-s +0.5 ·ьзу 나ㅡ う. のm 1K+...

  • I need the code written in Matlab software to send a number of bits using the...

    I need the code written in Matlab software to send a number of bits using the Pulse Shape Modulation, and demodulate the signal using the correlation coefficient. The part that i need to modified is the part that is in Bold. The two functions are : function [outSignals,time] = modulation(inBits) and function [outBits] = demodulation(inSignals). %% Main Function function runComm_code()     clear;clc;   SNRdB = 0:0.5:26;     nBits = 1e6;     SNRdBLength = length(SNRdB);     Pe = ones(1,SNRdBLength);     clc; disp('Simulation...

  • Please show all work. I do not understand this question. 4. How many GRa are there...

    Please show all work. I do not understand this question. 4. How many GRa are there in 9.3 Ci? Table 5. SI prefixes Factor Name Symbol Factor Name Symbol 1024 yotta Y 102 zetta Z 1018 exa E 1015 peta P 1012 tera T 109 giga G 106 mega M 103 kilo k 102 becte, h 101 deka da 10-1 deci d 10-2 centi c 10-3 milli m 10-6 micro u 10-9 vana n 10-12 pica p 10-15 femta f...

  • Why does Thevenin's Theorem work? I understand how to use it but I don't understand why...

    Why does Thevenin's Theorem work? I understand how to use it but I don't understand why it works. I have been reading my textbook and can follow the procedure, but I want to understand on a deeper level why the author does what they do. So far I know that the steps are 1. Find Vth, the open terminal voltage 2. Find isc, the short circuit current Vth 3. Rth isc But I don't know why these steps work. I...

  • Solve the following problems in the MATLAB Command Window. Show all of your work and add...

    Solve the following problems in the MATLAB Command Window. Show all of your work and add comments to distinguish each problem. Include your name as a comment at the top of the MATLAB Command Window. Copy the solutions from the MATLAB Command Window into Microsoft Word. Submit your Microsoft Word file in Blackboard by the due date. 1. (5-20/7+2.53)2 2. 6 x 3.1+ 120/5-155/3 3. 8+80/2.6+ e3.5 4. [sin(0.2T)]/[cos(n/6)] + tan 72° 5. Set t-3.2 and evaluate 0.5e3t+3.82t3 6. Define...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT