Statistica
0 Problemi
87 Soluzioni
RANK
N/A
of 302.380
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....
quasi 5 anni fa
Risolto
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
quasi 5 anni fa
Risolto
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
quasi 5 anni fa
Risolto
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
quasi 5 anni fa
Risolto
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
quasi 5 anni fa
Risolto
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
quasi 5 anni fa
Risolto
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
quasi 5 anni fa
Risolto
Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...
quasi 5 anni fa
Risolto
03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>
quasi 5 anni fa
Risolto
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
quasi 5 anni fa
Risolto
Determine the square root
Determine the square root of the value the user has entered, n.
quasi 5 anni fa
Risolto
02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )
quasi 5 anni fa
Risolto
03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...
quasi 5 anni fa
Risolto
Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...
quasi 5 anni fa
Risolto
02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...
quasi 5 anni fa
Risolto
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
quasi 5 anni fa
Risolto
01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>
quasi 5 anni fa
Risolto
02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>
quasi 5 anni fa
Risolto
02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>
quasi 5 anni fa
Risolto
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: ...
quasi 5 anni fa
Risolto
Square a Number
Given an input x, return y, which is equal to the square of x.
quasi 5 anni fa
Risolto
Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...
quasi 5 anni fa
Risolto
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
quasi 5 anni fa

