已解决


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

2 years 前

已解决


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

2 years 前

已解决


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

2 years 前

已解决


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

2 years 前

已解决


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

2 years 前

已解决


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

2 years 前

已解决


factorial of a number x
Factorial of a number x

2 years 前

已解决


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

2 years 前

已解决


square root
Find the square root (y) of an input (x).

2 years 前

已解决


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

2 years 前

已解决


length of a vector
Find twice the length of a given vector.

2 years 前

已解决


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

2 years 前

已解决


04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....

2 years 前

已解决


First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

2 years 前

已解决


04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...

2 years 前

已解决


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

2 years 前

已解决


Is my wife right?
Regardless of input, output the string 'yes'.

2 years 前

已回答
Plotting of a rolling ball
@Cem Eren Aslan, you can use plot function handle and delete it at end of every iteration inside the loop, data = [0 ...

2 years 前 | 0

| 已接受

已回答
readmatrix returning last column as NaN
@Philip The last column has additional character (semicolon) ' ; ' even though it has numeric data. Use readtable to check that ...

2 years 前 | 1

| 已接受

已回答
issues about app design
function DropDown(app,event)

2 years 前 | 0

| 已接受

已回答
How to solve algebraic equations for different values of variables ?
eqn = Ac.*I.*eta-m.*c.*(Te-Ti)==0;

2 years 前 | 0

| 已接受

已回答
imagesc graph axis setting probelm in Matlab Appdesigner
@준홍Ok. It may be for this reason, using *sprintf* function when you print to status text area value. This function prints output...

2 years 前 | 0

已回答
About While Loops problems
It has already exited, the first while loop, but it's waiting for next input from user ... See the message at bottom left of win...

2 years 前 | 0

已回答
My User-defined Function is in red
>>[numout,unit] = MyUnitConverter(25,'cels2fahr') Call your function as above from command window

2 years 前 | 0

已解决


Find MPG of Lightest Cars
The file cars.mat contains a table named cars with variables Model, MPG, Horsepower, Weight, and Acceleration for several classi...

2 years 前

已回答
How to extract a slider value?
@Darío Imbernón Clavero, You can call the ValueChangedFcn property for the uislider function, and define functions for ValueCha...

2 years 前 | 0

已解决


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

2 years 前

已解决


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

2 years 前

已解决


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

2 years 前

已回答
2 variables symbolic function representation
Hi @laura bagnale, you can use the function handle and choose a suitable plot function for representation that best fits your ne...

2 years 前 | 0

加载更多