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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 2

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 6

| aceptada

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

más de 8 años hace | 1

| aceptada

Respondida
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', '...

más de 8 años hace | 2

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 2

Respondida
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)/...

más de 8 años hace | 1

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

más de 8 años hace | 3

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 1

| aceptada

Cargar más