Statistiques
0 Problèmes
82 Solutions
RANG
N/A
of 302 089
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 21 539
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
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 de 3 ans il y a
A résolu
Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area
plus de 3 ans il y a
A résolu
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
plus de 3 ans il y a
A résolu
Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...
plus de 3 ans il y a
A résolu
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
plus de 3 ans il y a
A résolu
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
plus de 3 ans il y a
A résolu
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 ...
plus de 3 ans il y a
A résolu
04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....
plus de 3 ans 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 de 3 ans 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 de 3 ans il y a
A résolu
Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12
plus de 3 ans il y a
A résolu
Generate a matrix as follows
write a Function that gives like the following for a random n: n=2 ans= [ 0 1 1 0] n=6 ans= [ 0 ...
plus de 3 ans il y a
A résolu
STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!
plus de 3 ans il y a
A résolu
Matlab Basics II - Create a vector with a repeated entry
Create a row vector of length n, filled with 4's, for example, if n = 3 output = [4 4 4] make sure to round UP when n is a...
plus de 3 ans il y a
A résolu
03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...
plus de 3 ans il y a
A résolu
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 ...
plus de 3 ans il y a
A résolu
Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...
plus de 3 ans il y a
A résolu
Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
plus de 3 ans il y a
A résolu
Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0
plus de 3 ans il y a
A résolu
If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...
plus de 3 ans il y a
A résolu
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
plus de 3 ans il y a
A résolu
Remove the positive integers.
Given array x (of integers), remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -...
plus de 3 ans il y a
A résolu
find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]
plus de 3 ans il y a
A résolu
Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....
plus de 3 ans il y a
A résolu
Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative
plus de 3 ans il y a
A résolu
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
plus de 3 ans il y a
A résolu
02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>
plus de 3 ans il y a



