Community Profile


Tom Holz

Last seen: 1 year ago Active since 2012


  • Knowledgeable Level 2
  • 3 Month Streak
  • Matrix Manipulation III Master
  • Indexing III Master
  • First Answer
  • Logic
  • Sequences And Series II Master
  • Project Euler I
  • Introduction to MATLAB Master
  • Community Group Solver
  • Matrix Manipulation II Master
  • Strings II Master

View badges

Content Feed

View by


Is there a better way to enforce singleton behavior in AppDesigner applications?
When you click "Run" from inside the App Designer window, any existing instance of that app will be closed before a new one is c...

1 year ago | 0 answers | 3



Grouping into a table
In a situation like this, I usually plan out the table I want to see in advance, and then create variables that I can use to cre...

1 year ago | 1

| accepted

Need a better way to loop through a Matrix column and then output the row
Something like this for k = 1:size(Nodal_Coordinates,1) % Find the index of the kth row ind = find(Nodal_Coordi...

1 year ago | 1

| accepted

Is there a -batch option prior to 2019a, i.e., in 2017a
[ EDIT: the command-line below is wrong. See Edric and Steven's comments for the correct way to emulate batch functionality on o...

1 year ago | 0

How to change pixels to a different colour with a greyscale image?
Here's a hacky approach that does the job: I = imread('CTimagem.png'); mask = I < 8000; Ired = I; Igreen = I; Iblue = I...

2 years ago | 0

| accepted

Setting different properties for some line objects stored in the same handle
You can do this with the old-style set() functions, like this: set(h1([3 5]), 'LineWidth', 2); Or you can use deal(), like thi...

2 years ago | 1

How can my function work?
First, change Wans to W everywhere, otherwise you are not setting the output variable. Second, your final elseif should be chan...

2 years ago | 0