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 12 ans il y a

A résolu


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

environ 12 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 12 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 12 ans il y a

Réponse apportée
how to read data directly from com port using matlab?
http://www.mathworks.de/de/help/matlab/matlab_external/writing-and-reading-data.html Its a pretty good link! Hope it helps!

environ 12 ans il y a | 0

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

environ 12 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]; and ...

environ 12 ans il y a

A résolu


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

environ 12 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 12 ans il y a

Réponse apportée
Controlling which GUI is active/on top
http://www.mathworks.de/de/help/matlab/ref/figure.html?searchHighlight=figure I hope this helps!

environ 12 ans il y a | 0

| A accepté

Question


To design a user friendly GUI
Hello All I am trying to design a GUI in which the number of radio buttons change according to the number calculated by anoth...

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

2

réponses

Question


How to give two inputs to a state space system in simulink?
Hallo Everyone I have quite a simple doubt, but one that has been bugging me for quite a while. As the question states, I am ...

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

2

réponses

Question


How to maintain the precision of data?
I am working with data in the range of microns and although I can read it from the text file with precision, when I work with th...

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

0

réponse

Question


Reading data from a text file
Hallo I usually used load function to read text files. However, this time my text file has the first column as p1 p2 p3 and s...

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

2

réponses

Réponse apportée
Gui, m.file works but fig doesn't
This question has been asked before. http://www.mathworks.de/matlabcentral/answers/56203 this helped me in understanding the pro...

plus de 12 ans il y a | 0

Réponse apportée
How do I ensure that the fields within handles stay available throughout GUI Callbacks?
If you are having a problem of updating the handles, you should use guidata(handle to be updated, handles). Here it might be gui...

plus de 12 ans il y a | 0

Réponse apportée
Using Sum(W) ==1 as a condition in a function
I think all you need to do is to pass the value A,B,C,D,E,F,G,H,W when you call this function. It has got nothing to do with sum...

plus de 12 ans il y a | 0

Réponse apportée
Formatting exported text data
Precision should be followed by %f. For more info you could go to help dlmwrite or to know how to change the precision values go...

plus de 12 ans il y a | 0

Réponse apportée
Need help with calculating the minimum potential energy of two particles.
Hi there! Do you really want structures in your program? If not, then you should remove the punkt in between. %Variable dec...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
how can i assign few different calculation for a single pusshbutton
http://www.mathworks.de/de/help/matlab/creating_guis/program-the-simple-guide-gui.html?s_tid=doc_12b#f3-1000605 Follow this l...

plus de 12 ans il y a | 0

Réponse apportée
Calling and Using function file to adjust plots
You can save the tubeplot function in a file named as tubeplot.m and then use it as we normally use plot functions. I hope this ...

plus de 12 ans il y a | 0

Réponse apportée
how can i assign few different calculation for a single pusshbutton
In the callback function of the Push Button, you can use val = get(handles.popupmenu,'Value') and then use an if else statement ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
How to store a number of arrays in excel file?
I used sprintf instead. And its working too. Thanks a lot. Also, isn't there any other method by which we can write all the data...

plus de 12 ans il y a | 0

Question


How to store a number of arrays in excel file?
Hallo Everyone I am writing data into an excel file. However, the range of the data to be stored keeps changing and I want to...

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

2

réponses

Question


Storing handle values in a text file
Hello I want to write the handle values being produced in one GUI to a text file. I have written the code for generation of ...

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

0

réponse

Réponse apportée
Plotting data from one GUI to other
If my second GUI has two different axes then if I give the property as 'Tag' in findobj. Shouldn't it work?

plus de 12 ans il y a | 0

Réponse apportée
Saving an axes as jpg file using saveas
Thanks a lot. It worked instantly. However, if I want the title too, would I have to change the axes property 'position'. Becaus...

plus de 12 ans il y a | 0

Question


Saving an axes as jpg file using saveas
Hallo All I have been trying to save an axes object on an gui as jpg file but it takes up weird pictures, like sometime the p...

plus de 12 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
Plotting data from one GUI to other
Hey it works. It was my own fault when it gave that error. Thanks a ton! :)

plus de 12 ans il y a | 0

Charger plus