Accessing values in a cell
You are given c, which is a 1xN cell array, and a and b, which are each two 1xM vectors. Your job is to give the bth value in t...
2ヶ月 前
解決済み
UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class.
...
2ヶ月 前
解決済み
Beginner's Problem - Squaring
Try out this test problem first.
Given the variable x as your input, square it by two and put the result in y.
Examples:
...
2ヶ月 前
解決済み
currency converter
given a rate of exchange calculate the equivalent units of 100 USD
Basic Quadratic Equation
Create the equation:
y=(3x)^2+(5x)+35
and compute y for various values of x
2ヶ月 前
解決済み
what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example
x = 70000;
i=.10
y_correc...
2ヶ月 前
解決済み
construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x.
E...