Risolto


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

oltre 6 anni fa

Risolto


Area of rhombus
Calculate the rhombus area

oltre 6 anni fa

Risolto


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

oltre 6 anni fa

Risolto


UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

oltre 6 anni fa

Risolto


Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

oltre 6 anni fa

Risolto


UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

oltre 6 anni fa

Risolto


volume of torus
Find volume of torus with a as major radius and b as minor

oltre 6 anni fa

Risolto


Rank of matrix
Find the rank of given matrix

oltre 6 anni fa

Risolto


Reverse a matrix
Its simple. You have to reverse a given matrix.

oltre 6 anni fa

Risolto


Palindrome Check
Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...

oltre 6 anni fa

Risolto


Concatenate two strings
Its very easy. Just concatenate two strings.

oltre 6 anni fa

Risolto


string comparision
compare two strings if both are same return 1 else return 0

oltre 6 anni fa

Risolto


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

oltre 6 anni fa

Risolto


Roots of quadratic equation
Given a quadratic equation ax^2 + bx + c = 0, write a function to return its roots.

oltre 6 anni fa

Risolto


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

oltre 6 anni fa

Risolto


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

oltre 6 anni fa

Risolto


ascii value
let input='a' output=97

oltre 6 anni fa

Risolto


index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

oltre 6 anni fa

Risolto


interesting center of magic matrix
output the centre of magic matrix of n input=7; output=25

oltre 6 anni fa

Risolto


Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

oltre 6 anni fa

Risolto


reverse string
input='rama' output='amar'

oltre 6 anni fa

Risolto


only input
Return the output without writing any code into the function.

oltre 6 anni fa

Risolto


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]; ...

oltre 6 anni fa

Risolto


imaginary results
Return the value of the imaginary number i to the power of input argument n.

oltre 6 anni fa

Risolto


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

oltre 6 anni fa

Risolto


UICBioE240 2.8
Convert x number of hours into seconds.

oltre 6 anni fa

Risolto


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

oltre 6 anni fa

Risolto


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

oltre 6 anni fa

Risolto


UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

oltre 6 anni fa

Risolto


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

oltre 6 anni fa

Carica altro