Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 7 años hace | 1 respuesta | 0

1

respuesta