답변 있음
How do I plot this vector curve?
Hello Jason, "(1-cos(t))i" means that this point will be at the x-coordinate "1-cos(t)" for time t. Similarly for "j" -> y-co...

8년 초과 전 | 1

| 수락됨

답변 있음
Define Matrix array as a function
Hello Marzieh, It seems like there may be a relatively fundamental misunderstanding here. Let me see if I can put it clearly....

8년 초과 전 | 2

답변 있음
how to put variable xtick label in MATLAB plot?
Hello Poulomi, The <https://www.mathworks.com/help/matlab/ref/matlab.graphics.axis.axes-properties.html#property_d119e51034 '...

8년 초과 전 | 0

| 수락됨

답변 있음
matching based on a condtion cell table
Hello, I believe that <https://www.mathworks.com/help/matlab/ref/ismember.html ismember> is your friend here. It will produce...

8년 초과 전 | 0

| 수락됨

답변 있음
multiple snapshots into binarised
Hello Carlos, It helps if you post what you tried already, and what behavior/errors you were seeing. I can recommend that ...

8년 초과 전 | 0

| 수락됨

답변 있음
Error using ==> times Matrix dimensions must agree
Hello Sumiran, Rik's on the right track. I'm fairly certain that wavread will give you a row vector (1xN) for the first outpu...

8년 초과 전 | 0

답변 있음
Position of an element in a vector
Hello Farhan, You can use <https://www.mathworks.com/help/matlab/ref/find.html find> to get the index when an expression is t...

8년 초과 전 | 6

| 수락됨

답변 있음
Link two pushbutton_Callback (hObject, eventdata, handles)
Hello Behzad, If I'm understanding you correctly, you have two separate GUIs, each with their own button. When you push the "...

8년 초과 전 | 1

| 수락됨

답변 있음
How can I create a table from column from another table and some model output?
Something like this: % Sample data T = table(datetime('now')+(0:2).', rand(3,1), ... 'VariableNames', {'Dates', '...

8년 초과 전 | 2

| 수락됨

답변 있음
Plot and Image printing issue on GUIDE
Hello Hilal, Rather than calling "axes" in your "imshow" call, just provide the handle to the correct axes there. Now I'm ...

8년 초과 전 | 0

| 수락됨

답변 있음
Unique column pairs in 2 row matrix or 2 1 row matrixes
Hello Phillip, It sounds like you are looking to have unique columns in your array. Fortunately, MATLAB's <https://www.mathwo...

8년 초과 전 | 0

답변 있음
how to run the main program contain two call statement that call the function statement
Hello Arvind, If your code literally has this line: for Then that could very well be the cause of the syntax error. D...

8년 초과 전 | 0

답변 있음
Matlab Mobile Cant Get Down the Lower Line
Hello Ziya, It sounds like you're in the "Commands" portion of the mobile application (you'll see the ">>" to the left). This...

8년 초과 전 | 0

답변 있음
What features should I use to plot these charts?
Hello Dani, If you have the Signal Processing Toolbox, you can use <https://www.mathworks.com/help/signal/ref/sawtooth.html s...

8년 초과 전 | 0

| 수락됨

답변 있음
Display an image changing its color
There are a few things going on here that are affecting the display. First of all, I'm not entirely certain what you would like ...

8년 초과 전 | 0

| 수락됨

답변 있음
3D plotting, function approximation
Hey Peter, If the points are random, then generally you would <https://www.mathworks.com/help/matlab/ref/plot3.html plot them...

8년 초과 전 | 0

답변 있음
When I'm installing the android support package for simulink,the following pop-up error window appears.What should I do to resolve this?
Hello Gaurav, As part of the installation process for the Android Support Package, several third-party packages are downloade...

8년 초과 전 | 0

답변 있음
Where can I find the "BLE Send" and "BLE Receive" blocks in Simulink Support Package for Android Devices?
Hello Peter, The BLE Send and BLE Receive blocks were added to the support package in R2017b. See the <https://www.mathworks....

8년 초과 전 | 1

| 수락됨

답변 있음
how do you display the current workspace name
Thanks for clarifying. Unfortunately, in the situation as you describe it, there's no easy programmatic way to determine which y...

8년 초과 전 | 0

답변 있음
random choice of elements for n times, without choosing the same element more than once
Hello Maria, There are typically two ways to do this in programming. One would be to remove each element from the original ar...

8년 초과 전 | 2

답변 있음
How to loop in a single line for the given statement
The norm of a scalar is just going to be the absolute value, so that can be easily removed. Then you're doing basically (a - b)/...

8년 초과 전 | 1

답변 있음
Any way to preserve the native resolution of data when saving a figure?
Hello, It's a little hard for me to understand what you are asking for. You want an image that, when you zoom in on it, it in...

8년 초과 전 | 3

답변 있음
Error creating folder 'C:\Windows\System32\slprj\ert\androidGettingStartedExample\tmwinternal' : ?????
Hello Dasong, When you try to deploy the example model to your Android device, it will create a couple of folders in the curr...

8년 초과 전 | 1

답변 있음
How do I combine information from 2 arrays into a single array?
Hello Marissa, If you are looking to get a numeric result, you can simply do this: h = [1 3 4]; m = [33 12 27]; co...

8년 초과 전 | 0

답변 있음
Im writing a script to iterate through factorials, while storing each factorial in an array. Why does it keep saying there aren't enough inputs?
Hey Matthew, When you publish a file, it's similar to clicking the "run" button. If you haven't provided an input to your fun...

8년 초과 전 | 0

답변 있음
Calculate area under every point in a graph
Hello Debbie, I am assuming that you mean "area under a segment between two points" since, as KSSV says, you can't have an ar...

8년 초과 전 | 0

답변 있음
How to pull an image by its name
Once you have the file name, you could use some parsing to remove the number and extension and just get the condition text. Then...

8년 초과 전 | 0

답변 있음
display is very small
Hello Shiva, If you are using a high-dpi screen, MATLAB <https://www.mathworks.com/help/matlab/creating_guis/dpi-aware-behavi...

8년 초과 전 | 1

답변 있음
What's the best way to control the time and input data of a model from another model or Matlab?
Hello Nico, The easiest and most elegant way would be to use the Robotics System Toolbox <https://www.mathworks.com/help/robo...

8년 초과 전 | 0

| 수락됨

답변 있음
Converting time to sample numbers
Hello Sunil, Quite easily actually. Just convert the start time to a datetime, and then add the timesteps as duration values ...

8년 초과 전 | 1

| 수락됨

더 보기