Answered
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 years ago | 1

| accepted

Answered
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 years ago | 2

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 6

| accepted

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 2

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 2

Answered
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 years ago | 1

Answered
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 years ago | 3

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 1

| accepted

Load more