解決済み


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.

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

問題


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

9年以上 前 | 0 | 159 個のソルバー

解決済み


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]

9年以上 前

送信済み


AvgFilter(x)
Average Filter

9年以上 前 | ダウンロード 2 件 |

5.0 / 5

回答済み
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

9年以上 前 | 1

| 採用済み

回答済み
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...

9年以上 前 | 0

回答済み
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 ..

9年以上 前 | 0

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

9年以上 前 | 0

| 採用済み

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

9年以上 前 | 0

回答済み
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 '...

9年以上 前 | 0

解決済み


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

9年以上 前

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

9年以上 前 | 1

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

さらに読み込む