Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

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

circa 11 anni fa | 0

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

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

circa 11 anni fa | 0

| accettato

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 0

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 0 risposte | 0

0

risposte

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

Domanda


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

oltre 11 anni fa | 2 risposte | 1

2

risposte

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

oltre 11 anni fa | 0

Carica altro