Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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]

casi 8 años hace

Resuelto


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


Multi-line comments
* Fix the syntax errors.

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


prime test
find largest 2 digit prime number

casi 8 años hace

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

casi 8 años hace | 0

| aceptada

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Pregunta


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

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 8 años hace | 2 respuestas | 0

2

respuestas

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Cargar más