Community Profile

photo

Matt


Last seen: ongeveer een jaar ago Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • 3 Month Streak
  • Thankful Level 3

View badges

Feeds

View by

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 8 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 8 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 8 jaar ago | 0 answers | 1

0

answers

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 8 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

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

meer dan 8 jaar ago | 0

| accepted

Question


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

meer dan 8 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 8 jaar ago | 2 answers | 0

2

answers

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

meer dan 8 jaar ago | 0

Question


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

meer dan 8 jaar ago | 2 answers | 1

2

answers

Question


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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

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

ongeveer 9 jaar ago | 0

Load more