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

mehr als 8 Jahre vor | 1

| akzeptiert

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

mehr als 8 Jahre vor | 2

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 6

| akzeptiert

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

mehr als 8 Jahre vor | 1

| akzeptiert

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

mehr als 8 Jahre vor | 2

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 1

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 2

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

fast 9 Jahre vor | 1

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

fast 9 Jahre vor | 3

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

fast 9 Jahre vor | 1

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 1

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 1

| akzeptiert

Mehr laden