Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 1 answer | 0

1

answer