Community Profile

photo

Matt


Last seen: 11 meses hace Con actividad desde 2014

Estadísticas

  • 3 Month Streak
  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


App designer hide/show line graph on axes
Hi, For the life of me I cannot hide/show a graph on my axes when I click a checkbox. I've tried something like: set(app.graph...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Fill a matrix with another buy keep the original size
Hi, I have a 5x5 matrix (for example) filled with zeroes and I just want to fill that matrix from the top with another one whic...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Legend of graph doesn't match plot color and style
Hello, I have searched the forum and found some info regarding the legend color not matching the lines. However, I cannot get...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Array manipulation issue in Simulink
Hello, I am trying to manipulate an array in Simulink through Matlab function block, but despite trying different ways of doi...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to retrieve previousely created figures into a GUI
Hello, I know this has been a bit covered many times (I've had long searches and tests before posting this), but I cannot mak...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Way to set a cell array of strings to 0 or 1 depending on the string?
I have a cell array of strings (1000x1 cell) containing either "On" or "Off". Is there a simple command to replace "On" by 1 and...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Dynamic camera Sim mechanics
Hello, I would like to know if there is a way to "fix" a camera onto a movable object. As the objects moves quite a bit (doze...

más de 8 años hace | 0 respuestas | 1

0

respuestas

Pregunta


Create a script to convert HEX line from DEC line number (and reverse)
Hello guys, I would like to know if you can give me some help in making a script file that will convert a decimal number into...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Colorize table cells upon matrix of logical values
Hello guys, I would like to know how can I colorize the cells of a table that I have in a GUI upon a matrix values. In det...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Convert BIN to HEX
Hello guys, I have a .BIN file that looks like this when opened in Matlab: <</matlabcentral/answers/uploaded_files/38627/...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Speed up Simulink model which uses a Matlab function block
Hello, I would like to speed up the running of my Simulink model that uses a Matlab function block. Without that function blo...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Rotate a 4D matrix
Hello, I have a 4D matrix at the moment which contains coordinates (X, Y, Z). I would like to know how can I rotate that matr...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Combine 3 matrices (3D)
Hello all, I have 3 matrices A, B, C, each has a size of 200x50x50. They are coordinates (X, Y, Z) of points that represent a...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Simple problem yet I cannot find the error
Here is my script: haut=0.5 larg=0.5 long=2 A=linspace(1, larg*100, larg*100)'; % y B=linspace(1, long*100, lon...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Discretize a volume into smaller known volume sizes
Hello guys, I have a simple shape at my disposal, and I would like to know how to discretize it. For example if I have a sphe...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


3D rectangle interaction with plane - Compute cut volume
Hello, Using Simmechanics, I have a 3D rectangle that I am intersecting with a plane at a known position. What I would like t...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Matlab font changes in GUI between 2 computers with same version of Matlab
I would like to know how can I check Matlab's default font for GUI content (static text for example). The issue is that when ...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Check edit text box validity for "i" and "j" characters
Hello, I have in my GUI an edit text item where the user has to enter only numbers. I check this with the following command: ...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Sum of defined portion of a 3D matrix
Hello, I would like to sum different layers of a 3D matrix, but I don't know an easy way of doing it. Basically what I would ...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Respondida
Issue with random function
I found the issue to the problem. I named a variable "rand" earlier in my code. Matlab didn't give me any information this would...

más de 8 años hace | 0

| aceptada

Pregunta


Issue with random function
Hello guys, I have an issue with the function RANDOM that is not producing random numbers as it should. Here is the code: ...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Using a generated variable name as a handle for set function
Hello! I would like to know how can I use a generated variable name to be used as a handle for the SET function. I have the c...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Generate random number between 0 and a non-integer value
For my project I need to generate a random number between 0 and a non-integer value (eg. 0.854, 2.534). How can I do that in Mat...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Elegant way of "sending to the next row" in a matrix
Hello, I have a 1x36 matrix that I want to cut in bits. In my specific case I want to obtain a 6x6 matrix from this 1x36 matr...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Create a variable from string
Hello! In my Matlab program, I have a class named "time". In this class I have a variable named "car". in a FOR loop, I am ad...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Clear function works in command window but not in script file
Hello everyone, I am facing a weird problem here with the CLEAR function. I am generating a string using the following functi...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Respondida
Cannot delete text added to scatter plot points
Basically I have 1 pushbutton that adds points to the pointM matrix, as well as the color and size parameters for the scatter pl...

más de 8 años hace | 0

Pregunta


Cannot delete text added to scatter plot points
Hello! I have an issue regarding TEXT items. I have a scatter plot which works fine, then I am adding to the points some simp...

más de 8 años hace | 2 respuestas | 1

2

respuestas

Pregunta


Resize automatically GUI to screen resolution
Hello guys, I made a GUI through Guide and a script linked to it. This GUI was based on a 1080p screen resolution but I would...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Respondida
Improve calculation time with plots
Thanks for your answer. I tried the ADDPOINTS function but it is much slower than just using the set function (I checked that wi...

casi 9 años hace | 0

Cargar más