Solved


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

12 years ago

Solved


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

12 years ago

Solved


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

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

12 years ago

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

12 years ago | 0

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

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

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

12 years ago

Solved


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

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

12 years ago

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

12 years ago | 0

| accepted

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0 answers | 0

0

answers

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0 answers | 0

0

answers

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

12 years ago | 0

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

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

12 years ago | 2 answers | 1

2

answers

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

12 years ago | 0

Load more