Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab Question: So here is the function I am working with %%%Script%%%% function [SeasonQual] = CFB_SeasonEvaluator(Season) I have to make the function take in one

Matlab Question:

So here is the function I am working with

%%%Script%%%%

function [SeasonQual] = CFB_SeasonEvaluator(Season)

I have to make the function take in one vector input named Season. In this case, there are number of wins, losses, result, result 2. However, the scalar value of these 4 inputs go into the code and not in the script. I'm just confused on how I can make Season a vector of inputs (wins, losses, result, result 2) in the script so I can also write in the script on what SeasonQual will output with arguments with the 4 inputs.

%%%Command Window%%%

wins= 0;

losses=0;

result=0;

result2=0;

SeasonQual=CFB_SeasonEvaluator([wins, losses, rivalry, bowl])

(Note: the 0 scalar values are just there and not the real values)

Just need a script line that lets Season be a vector input so I can make arguments to make an ouput value

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago