A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

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

environ 7 ans il y a | 1 réponse | 0

1

réponse

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

environ 7 ans il y a | 1 réponse | 0

1

réponse

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

environ 7 ans il y a | 1 réponse | 0

1

réponse

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

environ 7 ans il y a | 1 réponse | 0

1

réponse

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

environ 7 ans il y a | 1 réponse | 0

1

réponse

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

environ 7 ans il y a | 1 réponse | 0

1

réponse

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

plus de 7 ans il y a | 1 réponse | 0

1

réponse

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

plus de 7 ans il y a | 1 réponse | 0

1

réponse

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

plus de 7 ans il y a | 2 réponses | 0

2

réponses

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

plus de 7 ans il y a | 1 réponse | 0

1

réponse