Risolto


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

oltre 6 anni fa

Risolto


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

oltre 6 anni fa

Risolto


UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

oltre 6 anni fa

Risolto


Transpose of matrix
Transpose of matrix as per test cases

oltre 6 anni fa

Risolto


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

oltre 6 anni fa

Risolto


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

oltre 6 anni fa

Risolto


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

oltre 6 anni fa

Risolto


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

oltre 6 anni fa

Risolto


Values in Array
How many values are in the array

oltre 6 anni fa

Risolto


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

oltre 6 anni fa

Risolto


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

oltre 6 anni fa

Risolto


Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA'

oltre 6 anni fa

Risolto


UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

oltre 6 anni fa

Risolto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

oltre 6 anni fa

Risolto


first element of matrix
find the first elements of a column matrix

oltre 6 anni fa

Risolto


prime test 2
enter the only non prime,non composite number

oltre 6 anni fa

Risolto


Find the sum of n squares
What is the sum of the squares of the first n integers?

oltre 6 anni fa

Risolto


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

oltre 6 anni fa

Risolto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

oltre 6 anni fa

Risolto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

oltre 6 anni fa

Risolto


Without the French accent please!
Suppress the French accent. Example 'Déjà présent' -> 'Deja present'

oltre 6 anni fa

Risolto


Transposition as a CIPHER
This all about transcripting a text message. If the input string is: *s1 = 'My name is Sourav Mondal'*, then the output is: *s2...

oltre 6 anni fa

Risolto


Convert a structure into a string
Convert the contents of each fields into a string. Example with an input structure s with 2 fields : s.age = '33' s....

oltre 6 anni fa

Risolto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

oltre 6 anni fa

Risolto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

oltre 6 anni fa

Risolto


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

oltre 6 anni fa

Risolto


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

oltre 6 anni fa

Risolto


Filter values in a vector
Cody often benefits from a functional style of programming. For example, your score is often better when you compose multiple fu...

oltre 6 anni fa

Risolto


Toeplitz Matrix
For a given square matrix of order n-by-n check whether this is a Toeplitz matrix or not. Return true if it is.

oltre 6 anni fa

Carica altro