문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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]

거의 8년 전

문제를 풀었습니다


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


Multi-line comments
* Fix the syntax errors.

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


prime test
find largest 2 digit prime number

거의 8년 전

답변 있음
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 ...

거의 8년 전 | 0

| 수락됨

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

질문


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

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 8년 전 | 답변 수: 2 | 0

2

답변

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

더 보기