A résolu


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.

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Problème


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

plus de 9 ans il y a | 0 | 159 solveurs

A résolu


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]

plus de 9 ans il y a

A soumis


AvgFilter(x)
Average Filter

plus de 9 ans il y a | 2 téléchargements |

5.0 / 5

Réponse apportée
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

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 0

Réponse apportée
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 ..

plus de 9 ans il y a | 0

Réponse apportée
Simulink shows blank diagnostic viewer
The only known work-around (not a fix) is to restart MATLAB.

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
Interest calculation with while
sum=1000 month=0 while sum<1500000 sum=(sum+750)*1.5 month=month+1 end disp(month)

plus de 9 ans il y a | 0

Réponse apportée
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 '...

plus de 9 ans il y a | 0

A résolu


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

plus de 9 ans il y a

Réponse apportée
Matlab jokes or puns
There are 10 types of people in the world, those who understand binary and those who don't.

plus de 9 ans il y a | 1

A résolu


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

environ 10 ans il y a

A résolu


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

environ 10 ans il y a

A résolu


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

environ 10 ans il y a

A résolu


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

environ 10 ans il y a

Charger plus