解決済み


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

回答