Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Beantwortet
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!

mehr als 10 Jahre vor | 0

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

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

mehr als 10 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 10 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
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?

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 1

2

Antworten

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

mehr als 10 Jahre vor | 0

Mehr laden