Resuelto


Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

más de 9 años hace

Resuelto


Get Determinants
Get the determinant of matrix Please have a pride on not using built-in Matlab functions :)

más de 9 años hace

Resuelto


Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

más de 9 años hace

Resuelto


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

más de 9 años hace

Resuelto


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

más de 9 años hace

Resuelto


radius of a spherical planet
you just measured its surface area, that is the input.

más de 9 años hace

Resuelto


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

más de 9 años hace

Resuelto


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

más de 9 años hace

Resuelto


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

más de 9 años hace

Resuelto


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

más de 9 años hace

Resuelto


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

más de 9 años hace

Resuelto


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

más de 9 años hace

Resuelto


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

más de 9 años hace

Resuelto


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

más de 9 años hace

Resuelto


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

más de 9 años hace

Problema


Rotate array 90 degrees
Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

más de 9 años hace | 0 | 159 solvers

Resuelto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

más de 9 años hace

Enviada


AvgFilter(x)
Average Filter

más de 9 años hace | 2 descargas |

5.0 / 5

Respondida
How to input the image in the following code ? Its giving error that its undefined.
you have to read the image using the imread function.then only your code can process the image data

más de 9 años hace | 1

| aceptada

Respondida
On ramp wont work
The MATLAB Onramp course is complimentary with your purchase of MATLAB. if your mathworks account is not associated with a lice...

más de 9 años hace | 0

Respondida
1st attempt at learning simulink and I'm rewarding with a mess
You have to rename the autosave file before opening it ie, you have to remove .autosave part from the autosave file ..

más de 9 años hace | 0

Respondida
Simulink shows blank diagnostic viewer
The only known work-around (not a fix) is to restart MATLAB.

más de 9 años hace | 0

| aceptada

Respondida
Interest calculation with while
sum=1000 month=0 while sum<1500000 sum=(sum+750)*1.5 month=month+1 end disp(month)

más de 9 años hace | 0

Respondida
How can i uncheck the 'Data store name must resolve to Simulink signal object' option?
Two methods are there # Right click on the signal and click on properties option there you get the provision to uncheck the '...

más de 9 años hace | 0

Resuelto


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

más de 9 años hace

Respondida
Matlab jokes or puns
There are 10 types of people in the world, those who understand binary and those who don't.

más de 9 años hace | 1

Resuelto


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

alrededor de 10 años hace

Resuelto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

alrededor de 10 años hace

Cargar más