질문


Brainstorm: Why would my function stop?
The code is rather tedious, but at the very end of and inside of "Function A", I call another function, "Function B" For some...

12년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
summing up array element
Here is your solution in a really easy loop. p = [3 6 2 5]; %Can have as many numbers as you want for n = ...

12년 초과 전 | 1

답변 있음
A general question in mathematics
Q = quad(FUN,A,B) tries to approximate the integral of scalar-valued function FUN from A to B to within an error of 1.e-6 ...

12년 초과 전 | 0

답변 있음
what is the value of these constants??
Some times constants are literally just assigned words, characters or "strings" as their values. For example, I could have a ...

12년 초과 전 | 0

| 수락됨

답변 있음
please help with this function
atan doesn't take the 'y over x' value you seem to be thinking of. It takes an angle in radians.... Y = atan(X) returns the i...

12년 초과 전 | 0

답변 있음
assigning cell data into edit in gui.
set(handles.edit1, 'String', rotation_x_cell)

12년 초과 전 | 0

| 수락됨

답변 있음
What is the best way to use the same constants in different functions?
Write a function with no inputs that sets all of your constants in a structure, and return that structure. (Using structures bec...

12년 초과 전 | 1

| 수락됨

답변 있음
Error using plot Conversion to double from cell is not possible.
You are trying to plot a 'cell'. I believe the plot command only works for doubles. Convert the cell to a double first.

12년 초과 전 | 0

| 수락됨

답변 있음
make a GUI for an existing programme
You can use your GUI to call existing functions, but I believe they need to be saved in the same folder as where you have your G...

12년 초과 전 | 0

질문


Copy file from one network computer, to another
I have remote access to two computers. I want to use Matlab to copy a file from computer A to computer B, without using my compu...

12년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Turn checkbox cell green in a uitable
I have a uitable with the last column being checkboxes. Rows represent processes, when the process is complete, I want to make ...

12년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Turn a checkbox green
I have a uitable in a GUI I made in Matlab guide. I want a checkbox to turn green when its 'checked', and turn back red if it...

12년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why is "findstr" not recommended compared to strfind.
Is it simply because you can flip the inputs in strfind however you want, (making it more flexible), or is it actually more reso...

12년 초과 전 | 답변 수: 1 | 1

1

답변

답변 있음
How do i get rid of the warning 'The function 'functionname' was not found in the library In loadlibrary at 402'
If its not affecting your code, and you want it to run as is but suppress the warnings, then put this before the line you want t...

12년 초과 전 | 0

답변 있음
findobj for multiple 'Tag's
When you use findobj, it returns the object handle (May look like an arbitrary number to the user). There are many ways to do wh...

12년 초과 전 | 0

| 수락됨

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12년 초과 전

답변 있음
Functions calling back function
Because you set c to zero right before your if/else statements. c = 0; Then you say "If c equals 1, then a = 10" ...

12년 초과 전 | 0

답변 있음
How can I make contour lines smoother?
Is it something you can try "binning"?

12년 초과 전 | 0

답변 있음
Simple GUI question about functions and text boxes.
Your push button should have a "Callback Function" generated within the code. You need to set the "tag" properties of your ed...

12년 초과 전 | 1

답변 있음
How would I make a pop up menu of varying length depending on the problem? (corresponds to the number of columns in a matrix)
You have to update the 'String' property of the popup to contain whatever you want to be a string with whatever options you want...

12년 초과 전 | 0

답변 있음
Toggle Curves in a GUI Plot on/off using check boxes
I am currently toggling on and off four lines, and unfortunately the only way so far that I have been able to do it is by using ...

12년 초과 전 | 0

답변 있음
How to call .m file and its all functionality through call back push button in gui?
You need to have the .m file inside the folder you are working in. This may mean saving a copy of it to where your gui files are...

12년 초과 전 | 0

답변 있음
ranksum returns NaN when comparing two vectors with a single identical entry when sum of lengths is greater than 20
Hello Connor, This is because the method of calculation changes depending on your inputs. (Exact Solution, Approximate Solut...

12년 초과 전 | 0

답변 있음
Giving 'Static Text' a callback
Ok, so what you need to do is make a button instead of a static text box! You can still keep a string of text in it and it can ...

12년 초과 전 | 1

답변 있음
what will be the program in matlab to find the average of various numbers?
mean(X) where X is a vector of the list of numbers OR mean([1 3 4 5 7 3]) Where your numbers are in the square b...

12년 초과 전 | 1

| 수락됨

답변 있음
how to change the axes resolution ?
Could you provide an example? I tried plotting some very small values as an example and it worked fine. x = [1 2 3 4] ...

12년 초과 전 | 0

문제를 풀었습니다


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

답변 있음
Hi, where can i download the version r2011b?
Refer to: http://www.mathworks.com/matlabcentral/answers/50431

12년 초과 전 | 0

답변 있음
how i can upload a picture using gui when i push a pushbutton
Hi Sajid, Do you mean you want to push the button, select an image from a folder, and then load the image to the screen? ...

12년 초과 전 | 0