Risolto


prime test
find largest 2 digit prime number

oltre 7 anni fa

Risolto


Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...

oltre 7 anni fa

Risolto


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

oltre 7 anni fa

Risolto


sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

oltre 7 anni fa

Risolto


Calculate the height of an object dropped from the sky
Assume that an object is dropped from 1000 meters above the surface of the earth at time t=0. The object is dropped such that t...

oltre 7 anni fa

Risolto


Create an 'arrow-head" matrix
Write a function that when given an odd number, produces an arrow-head function pointing to the right. Examples n = 3 ...

oltre 7 anni fa

Risolto


Tune your guitar
Given an input string with the scientific pitch notation for standard tuning ( <http://en.wikipedia.org/wiki/Guitar_tunings#Stan...

oltre 7 anni fa

Risolto


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

oltre 7 anni fa

Risolto


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

oltre 7 anni fa

Risolto


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

oltre 7 anni fa

Risolto


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

oltre 7 anni fa

Risolto


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

oltre 7 anni fa

Risolto


Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

oltre 7 anni fa

Risolto


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

oltre 7 anni fa

Risolto


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

oltre 7 anni fa

Risolto


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

oltre 7 anni fa

Risolto


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

oltre 7 anni fa

Risolto


frame of the matrix
Given the matrix M, return M without the external frame.

oltre 7 anni fa

Risolto


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

oltre 7 anni fa

Risolto


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

oltre 7 anni fa

Risolto


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

oltre 7 anni fa

Risolto


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

oltre 7 anni fa

Risolto


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

oltre 7 anni fa

Risolto


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

oltre 7 anni fa

Risolto


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

oltre 7 anni fa

Risolto


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

oltre 7 anni fa

Risolto


find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

oltre 7 anni fa

Risolto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

oltre 7 anni fa

Risolto


Saving MATLAB session to a file
How to save MATLAB session to a file?

oltre 7 anni fa

Risolto


Sort numbers by outside digits
Sort the array so that they are sorted as if their value was a 5 digit number made from the first three and last two digits of t...

oltre 7 anni fa

Carica altro