Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

4年弱 前

What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

4年弱 前

Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

4年弱 前

For Loop Problem (Compound Interest with linked Savings and CD Account)
Here is the code. As you assumed, for the first year we add monthly values to the saving account MonthlyDeposit=sum([30...

4年弱 前 | 0

Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

4年弱 前

Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

4年弱 前

Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

4年弱 前

Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

4年弱 前

2D Truss Analysis With GUI
Analysis of 2D trusses using interactive GUI

4年弱 前 | ダウンロード 22 件 |

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

4年弱 前

pressure to dB?
given x ratio of pressure, find corresponding y dB

4年弱 前

Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

4年弱 前

Tree Height
Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...

4年弱 前

Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

4年弱 前

Relational operators: Guessing game
Row array userGuess contains a sequence of user guesses. Create a logical indexing array correctGuess with true in each location...

4年弱 前

Double colon operator: Counting down
* Construct a row array countValues from startValue to endValue, elements decremented by -2 Ex: If startValue is 10 and end...

4年弱 前

* Fix the syntax errors.

4年弱 前

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

4年弱 前

Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

4年弱 前

Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

4年弱 前

Make a Star Pyramid
Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

4年弱 前

Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

4年弱 前

Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

4年弱 前

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

4年弱 前

modulus of a number
find the modulus of a given number

4年弱 前

find lenth of array
you have given an array, find the length of that.

4年弱 前

Basic commands - Which matlab files are here?
Please make a function which will list all specific for Matlab files in current folder.

4年弱 前

Basic commands - Excuse me, what time is it?
Please write a function, which will return current hours and minutes, please notice we are using 24h time. Return a vector li...

4年弱 前

given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

4年弱 前

Basic commands - Where did I install Matlab?
Please make a function, which returns path to Matlab installation folder

4年弱 前