A résolu


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

presque 10 ans il y a

A résolu


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

presque 10 ans il y a

A résolu


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

presque 10 ans il y a

A résolu


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

presque 10 ans il y a

A résolu


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

presque 10 ans il y a

A résolu


Back to basics 24 - Symbolic variables
Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variabl...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


Multi-line comments
* Fix the syntax errors.

presque 10 ans il y a

A résolu


Indexing an array element
* Assign currentStudent with the second element of array testScores. _Reminder: Array indexing starts with 1._

presque 10 ans il y a

A résolu


Delete useless part of data
When someone deals with big data. if the person delete useless part, calculation will be more faster than before deleting. De...

presque 10 ans il y a

A résolu


Conduct inner product using given matrix
a=[1 2 3]; b=[3 4 5]; y=function(a,b) Output y should be 26

presque 10 ans il y a

A résolu


Sort matrix a according to ascending order of B!
To be specific, A=[9 3 1 3] B=[1 3 2 4] are provided, ascending sorting of B is [B(1) B(3) B(2) B(4)]. Thus ...

presque 10 ans il y a

A résolu


Leap year or Not
Check if a given year is Leap year or not.

presque 10 ans il y a

A résolu


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

presque 10 ans il y a

A résolu


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

presque 10 ans il y a

A résolu


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


prime test
find largest 2 digit prime number

presque 10 ans il y a

Réponse apportée
why i am getting the error "Index exceeds matrix dimensions." someone please help me to point it out!
* In your code you are using a variables "min" and "max". * these two are matlab inbult functions to find minimum and maximum ...

presque 10 ans il y a | 0

| A accepté

A résolu


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

presque 10 ans il y a

A résolu


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

presque 10 ans il y a

A résolu


Reduce the logic
We have three logical input, x,y and z. The output is: y = ((x&y)|z)&((z|x&y)|(z&y|x))|((x&z)|z)&((y|x&z)|(z&x|y))|(x|y|z) ...

presque 10 ans il y a

A résolu


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

presque 10 ans il y a

Question


Why imshow not working in stand alone application.Is there any alternative for that?
I developed a application using matlab compiler .Everything works fine except the command imshow.What is the probability of gett...

presque 10 ans il y a | 1 réponse | 0

1

réponse

Question


how to close windows photo viewer using matlab command?
* I opened a image using the command "winopen" * Now my intention is to close the image using matlab commmand. * I think "tas...

presque 10 ans il y a | 2 réponses | 0

2

réponses

A résolu


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

presque 10 ans il y a

A résolu


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

presque 10 ans il y a

A résolu


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

presque 10 ans il y a

A résolu


how to convert given text into all upper case letters?
how to convert given text into all upper case letters?

presque 10 ans il y a

Charger plus