Multiply a column by a row
* Given a column vector C and and a row vector R.
* Output a matrix M.
* Every column of M equals to C multiplied by correspon...
9年以上 前
解決済み
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the hourly wage times 40 and times 50, because annualSalary = hour...
Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...
9年以上 前
解決済み
Plus x: A first program
_Solve this problem in Mathwork's online Cody system._
Write a statement that assigns y with 5 plus x.
Ex: If input x = 2,...
9年以上 前
解決済み
Free passes for everyone!
THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT
_Simply return the name of the coolest numerical c...
9年以上 前
解決済み
First N Perfect Squares
*Description*
Return the first N perfect squares
*Example*
input = 4;
output = [ 1 4 9 16 ];