문제를 풀었습니다


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

대략 12년 전

문제를 풀었습니다


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

대략 12년 전

문제를 풀었습니다


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

대략 12년 전

문제를 풀었습니다


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년 전

답변 있음
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년 전 | 0

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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년 초과 전

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

12년 초과 전 | 0

| 수락됨

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

질문


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년 초과 전 | 답변 수: 2 | 1

2

답변

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

12년 초과 전 | 0

더 보기