Statistiques
0 Problèmes
190 Solutions
RANG
N/A
of 300 946
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 21 119
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
"Look and say" sequence
What's the next number in this sequence? * [0] * [1 0] * [1 1 1 0] * [3 1 1 0] * [1 3 2 1 1 0] This a variant on the w...
plus d'un an il y a
A résolu
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
plus d'un an il y a
A résolu
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
plus d'un an il y a
A résolu
Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.
plus d'un an il y a
A résolu
Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...
plus d'un an il y a
A résolu
Counting down
Create a vector that counts from 450 to 200 in increments of 10.
plus d'un an il y a
A résolu
Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...
plus d'un an il y a
A résolu
05 - Vector Equations 1
Define the vector _cVec_: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of -0....
plus d'un an il y a
A résolu
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
plus d'un an il y a
A résolu
Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...
plus d'un an il y a
A résolu
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
plus d'un an il y a
A résolu
Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area
plus d'un an il y a
A résolu
Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input is n=4 th...
plus d'un an il y a
A résolu
Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...
plus d'un an il y a
A résolu
Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2
plus d'un an il y a
A résolu
Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2
plus d'un an il y a
A résolu
Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.
plus d'un an il y a
A résolu
Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...
plus d'un an il y a
A résolu
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
plus d'un an il y a
A résolu
Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...
plus d'un an il y a
A résolu
Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...
plus d'un an il y a
A résolu
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
plus d'un an il y a
A résolu
Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2
plus d'un an il y a
A résolu
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
plus d'un an il y a
A résolu
Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...
plus d'un an il y a
A résolu
04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...
plus d'un an il y a



