Statistica
0 Problemi
98 Soluzioni
RANK
N/A
of 302.373
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
Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.
quasi 4 anni fa
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 4 anni fa
Risolto
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
quasi 4 anni fa
Risolto
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
quasi 4 anni fa
Risolto
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
quasi 4 anni fa
Risolto
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
quasi 4 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 4 anni fa
Risolto
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
quasi 4 anni fa
Risolto
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
quasi 4 anni fa
Risolto
03 - Matrix Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3a.png>> A 9x9 matrix full of 2's (Hint: use *ones* o...
quasi 4 anni fa
Risolto
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
quasi 4 anni fa
Risolto
find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;
quasi 4 anni fa
Risolto
Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]
quasi 4 anni fa
Risolto
Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3
quasi 4 anni fa
Risolto
Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];
quasi 4 anni fa
Risolto
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
quasi 4 anni fa
Risolto
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
quasi 4 anni fa
Risolto
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
quasi 4 anni fa
Risolto
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
quasi 4 anni fa
Risolto
Square a Number
Given an input x, return y, which is equal to the square of x.
quasi 4 anni fa
Risolto
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
quasi 4 anni fa
Risolto
Simple equation: Annual salary
Given an hourly wage, compute an annual salary
quasi 4 anni fa
Risolto
Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.
quasi 4 anni fa
Risolto
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
quasi 4 anni fa
Risolto
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...
quasi 4 anni fa
Risolto
Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...
quasi 4 anni fa

