Create a script that will used Negative_Test. The script will take input from the user called Revenue using input statement and another input called Cost also using input statement. Then a new variable is called Profit where Profit= Revenue-Cost. Now

조회 수: 1 (최근 30일)
I am very new to coding and matlab. Any help is greatly appreciated.

답변 (1개)

Chandani Madnani
Chandani Madnani 2017년 10월 4일
Hello,
Please see the following documentation links that would help you get started: function: http://www.mathworks.com/help/matlab/ref/function.html input: http://www.mathworks.com/help/matlab/ref/input.html
MathWorks provides some amazing training and courses online to get you a good head start. I would strongly recommend taking MATLAB Onramp course on: https://matlabacademy.mathworks.com/

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by