Gelöst


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.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Problem


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

fast 10 Jahre vor | 0 | 160 Lösungsvorschläge

Gelöst


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]

fast 10 Jahre vor

Gesendet


AvgFilter(x)
Average Filter

fast 10 Jahre vor | 57 Downloads |

5.0 / 5

Beantwortet
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

fast 10 Jahre vor | 1

| akzeptiert

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

fast 10 Jahre vor | 0

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

fast 10 Jahre vor | 0

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

fast 10 Jahre vor | 0

| akzeptiert

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

fast 10 Jahre vor | 0

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

fast 10 Jahre vor | 0

Gelöst


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

fast 10 Jahre vor

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

fast 10 Jahre vor | 1

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Mehr laden