解決済み


Travel speed
Write an anonymous function to compute the Euclidean distance given two points (x1, y1) and (x2, y2). Use the following equation...

10年以上 前

解決済み


Moving target
Write a function with persistent variables currentLocationX and currentLocationY that store an object's location. Each call to t...

10年以上 前

解決済み


Writing a recursive math function
Complete the recursive function RaiseToPower(). Ex: If userBase is 2 and userExponent is 4, then raisedValue is assigned wit...

10年以上 前

解決済み


Prime checker
Complete the recursive function to determine if a number is prime. Skeletal code is provided in the PrimeChecker function.

10年以上 前

解決済み


Number of pennies
Complete the function ConvertToPennies() so that the function returns the total number of pennies given a number of dollars and ...

10年以上 前

解決済み


Is my wife right
This is question relies on the dilemma that every married man faces in his life. Which has one simple ans: So whatever the qu...

11年弱 前

解決済み


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

11年弱 前

解決済み


Rank of matrix
Find the rank of given matrix

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


calculate Compound Intrest
Calculate Compound Intrest for given data

11年弱 前

解決済み


Equate
Equate y to x

11年弱 前

解決済み


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

11年弱 前

解決済み


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

11年弱 前

解決済み


Phoneword Translator
Given an alphanumeric telephone number (Ex. 1-800-COLLECT), return the purely numeric phone number as a vector. This problem use...

11年弱 前

解決済み


replace empty matrices with '[]'
for example a=1;a(:,1)=[]; returns a = Empty matrix: 1-by-0 use this as the input,and the output should be '[]...

11年弱 前

解決済み


normalize group of numbers to integers
Hi guys! I have a group of 4 numbers x,y,z,w which comes from 4 integers multiplied with a common factor. [x,y,z,w] = c [i,j,k,...

11年弱 前

解決済み


Find the relation
Take x as input and y as output. If x=1 y=3 If x=2 y=14 If x=3 y=39 If x=4 y=84 Based on this relation find giv...

11年弱 前

解決済み


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

11年弱 前

問題


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

11年弱 前 | 2 | 209 個のソルバー

解決済み


Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

11年弱 前

解決済み


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

11年弱 前

解決済み


Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

11年弱 前

解決済み


Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

11年弱 前

解決済み


Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

11年弱 前

解決済み


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

11年弱 前

解決済み


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

11年弱 前

解決済み


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

11年弱 前

解決済み


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

11年弱 前

解決済み


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

11年弱 前

さらに読み込む