문제를 풀었습니다


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

대략 7년 전

문제를 풀었습니다


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

대략 7년 전

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

대략 7년 전

문제를 풀었습니다


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

대략 7년 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

대략 7년 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

대략 7년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

대략 7년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

대략 7년 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

대략 7년 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

대략 7년 전

질문


How to change text on a panel?
My question is: -I have created a panel with text in it : uicontrol(handles.vehicleData, 'Style','text','Position', [148 -12...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


How can share the handles variable between two skripts?
My question ist: 1) i have created a panel with text in a skript str_velocity = "%.2f km/h"; vxvRef= 0; handl...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


How to plot a data of points?
data_array(:,1)= [1; 3; 4; 5; 7; 8]; data_array(:,2)= [4; 6; 12; 15; 3; 12]; color_array= [0 0.447 0.741; 0 1 1; 0 1 0; 1 0 ...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


How to add text descriptions to data points ?
Hi guys, i'm facing a problem, which with the command 'text' is not so ideal. Do you know another alternative command for 'text...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


How to put a char text to a existing panel
hi guys. I am trying to programatically show text on a panel. I have tried this with parent, but it doesn't work. How can i solv...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Automatically update a checkbox in list
I can get the value from the checkboxlist : m= get(handles.checkBoxList, 'Value'); How can my checkbox automatically update, w...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to plot the number on top of 3D Bar Graphs?
I have wrote a code to get a 3D Graph: A=[0.8 0.9 0.98; 0.6 0.7 0.87; 0.67 0.75 0.7; 0.75 0.68 0.75] bar3(A, 0.5) set(gca,'X...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can i get the same text from another function
* How can I get the texts, that i have created in the function handles to the function checkboxValue. I want to delete them in t...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to get the value from the checboxes after push a Button?
Hi guys, i have a guide, that creates a several checkboxes and a Pushbutton "enter" in the dialog box. What i want is, when i ch...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to save the state of checkboxes as a cell?
Hey guys, I have a GUI that, by pushing a button 'click' on a axes, creates a new figure with a set of checkboxes. After the ...

7년 초과 전 | 답변 수: 1 | 0

1

답변