1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
konstantin123 [22]
3 years ago
5

function outputValue = AdjustOutput(outputValue, amplitudeResponse, phaseResponse) % Write an if-statement that subtracts 5 from

outputValue % if amplitudeResponse is greater than 10 outputValue = outputValue; % Write an if-statement that adds 3 to outputValue if % phaseResponse is less than 275 end
Computers and Technology
1 answer:
MatroZZZ [7]3 years ago
6 0

Answer:

function outputValue = AdjustOutput(outputValue, amplitudeResponse, phaseResponse)

if amplitudeResponse > 10

outputValue = outputValue - 5;

else

outputValue = outputValue;

end

if phaseResponse < 275

outputValue = outputValue + 3;

else

outputValue = outputValue

end

end

AdjustOutput(20, 15, 149)

You might be interested in
Who wants to join my zoom after school 23456+4567
tensa zangetsu [6.8K]
Meeeeeeeeeeeeeeeeeeee
5 0
3 years ago
Scenario:
erik [133]

Answer:

She wanted to impress her friends with the latest phone.

Explanation:

Edu 2021

5 0
2 years ago
Read 2 more answers
Write test programs in java to determine the scope of a variable declared in a for statement. Specifically, the code must determ
xxMikexx [17]

Answer:

  1. public class Main {
  2.    public static void main (String [] args) {
  3.        for(int i = 1; i < 10; i++){
  4.            int num = 0;
  5.            num += i;
  6.        }  
  7.        System.out.println(num);
  8.    }
  9. }

Explanation:

In programming each variable has its scope. For example, a variable defined within the for loop has no longer exist outside the loop body. To illustrate this we can write a short program as presented above.

Firstly, create a for loop that traverse the number 1 - 10 (Line 5 - 8). Within the loop create a variable num and initialize it with zero (Line 6) and increment it with i value for each iteration (Line 7).

Outside the loop, we try to print the num (Line 9). When we run the program this will result in an error as the num which is declared inside the for loop will no longer exist outside the loop body.  

6 0
2 years ago
Ellen wants to find out what her median monthly spending is.The monthly totals for her spending appear in the range A10:L10.Whic
Fed [463]

Answer:

B

Explanation:

B. Select the range A1:L10, click the Quick Analysis button, click TOTALS, and then click Median.

Found it here might help with other questions on your test.

https://quizlet.com/386793520/cit105-excel-quiz-3-flash-cards/

3 0
3 years ago
Assume the following Python code has already executed.
Ivanshal [37]

e. /Users/me/Documents/file.txt

7 0
2 years ago
Other questions:
  • Write a code that makes a 2D square array with 20×20 elements. Fill the array with random numbers initially. Then, "draw" a squa
    9·1 answer
  • A new product was introduced in 2003, which functions as both an identification device and a medium of communication. It uses in
    8·1 answer
  • Write a program in Python that reads in investment amount, annual interest rate, and number of years, and displays the future in
    6·1 answer
  • Bob works in a small office with a network of computers. Bob, along with all the other employees, is responsible for securing hi
    5·1 answer
  • Create a function names minElement() that takes an array of numbers as a paaramter and returns the min value of the array. The a
    9·1 answer
  • Draw a datapath that can perform the following set of register replacement and combinational operations. Assume all registers ar
    5·1 answer
  • Which of the following is NOT true about procedural abstraction?
    9·1 answer
  • Algorithm 1$ =RS 150<br><br>​
    5·2 answers
  • I am in class 7 should I go with java or python.​
    6·1 answer
  • After Daniel performed poorly on a test, his teacher advised him to do some self-reflection to figure out how he could get a bet
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!