Community Profile

photo

Andrew Janke


Last seen: 3 jours ago Active since 2018

Statistics

All
  • 5-Star Galaxy Level 3
  • Commenter
  • Knowledgeable Level 1
  • Solver
  • Personal Best Downloads Level 1
  • First Review
  • GitHub Submissions Level 3
  • First Submission
  • First Answer

View badges

Content Feed

View by

Answered
What should go in a next-generation MATLAB X?
Remove the length function. Its behavior of "size along the longest dimension, picked at run time" is a little weird, most juni...

23 jours ago | 2

Answered
What should go in a next-generation MATLAB X?
Parallel array iteration! Let's say I've got some arrays in variables x, y, and z, with the same number of columns. I'd like t...

environ un mois ago | 0

Answered
What should go in a next-generation MATLAB X?
Convenience thing: The fieldnames function returns a string row vector, not a cellstr column vector, so you can loop over cell ...

environ un mois ago | 0

Submitted


MlxShake
Export Matlab Live Scripts to Markdown

environ un mois ago | 4 downloads |

Answered
What should go in a next-generation MATLAB X?
Oh, here's one! Comments can begin with "#" in addition to "%". This would enable Octave compatibility. But I think that might...

environ un mois ago | 1

Answered
Dual licensing in File Exchange - is it possible?
You are now allowed to get submissions with different license terms on to File Exchange if you publish your code to a GitHub rep...

environ un mois ago | 0

Submitted


MatlabProjectTemplate
A template for creating repos for Matlab library and application projects

environ un mois ago | 6 downloads |

Answered
What should go in a next-generation MATLAB X?
A possibly radical one: Semicolons are no longer needed to suppress display of a statement's result. Instead, output is suppres...

environ un mois ago | 5

Answered
What should go in a next-generation MATLAB X?
In MATLAB X, I would like to see: An object display customization API like Python's __str__ and __repr__. (`disp` isn't suitabl...

environ un mois ago | 3

Question


What should go in a next-generation MATLAB X?
Let's say MathWorks decides to create a MATLAB X release, which takes a big one-time breaking change that abandons back-compatib...

environ un mois ago | 27 answers | 8

27

answers

Answered
Who is using the MATLAB Discord channel?
All the time. I'm in the Matlab Discord more often than I'm in my own apartment.

environ 2 mois ago | 1

Submitted


fancyclip
Enhanced clipboard copy & paste functionality for Matlab

9 mois ago | 2 downloads |

Thumbnail

Question


Convenient handling of datetime function arguments and class properties
Hi folks, At work, we're in the process of adopting Matlab's new datetime type. We're on R2019b currently. Our code previously ...

9 mois ago | 1 answer | 1

1

answer

Answered
What frustrates you about MATLAB? #2
Here's my Matlab Gripes, 2020 Year End Edition. This is coming from the perspective of someone who's primarily a software engin...

9 mois ago | 0

Submitted


SLF4M
A simple logging framework for Matlab, built on top of SLF4J and Log4j

9 mois ago | 2 downloads |

Solved


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

environ un an ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

environ un an ago

Solved


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

environ un an ago

Solved


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

environ un an ago

Answered
Close diary file on Error
The onCleanup function is what you want in modern Matlab. No try/catch to ugly up your code, and it's robust even against a dbqu...

plus d'un an ago | 0

Answered
Trouble Using Abstract Class from .NET Assembly
You do not need to, and in fact cannot, directly instantiate this abstract class. That's what an abstract class is: a class with...

plus d'un an ago | 0

Answered
Changing format of a Struct
You should consider using a Matlab table array instead of a struct for cases like this. They're more suitable for data in this f...

plus d'un an ago | 0

Answered
Abort external code process called by Matlab
There's no general mechanism for aborting a C# function call. The C# function has to be written specifically to support aborting...

plus d'un an ago | 0

Answered
How to iterate through rows of a table, such that after each iteration some computation is done and then the below row is reached?
To iterate over the rows of a table, use height() to see how high your index should go: for iRow = 1:height(r) % ... do wo...

plus d'un an ago | 0

Answered
Error downloading .txt or .nc files through the ftp link
Geoff is right. You're passing a URL to ftp(), when it only accepts host names. You need to do the directory navigation and file...

plus d'un an ago | 1

Answered
Changing the default Java TimeZone does not work with createConnectionForPool
Each of the workers in the Parallel Pool is a separate process with its own separate JVM. You need to run that java.util.TimeZon...

plus d'un an ago | 0

Answered
out of memory matlab runtime 2015b
Hard to say without knowing what operations your program is doing. But since you have a lot of free memory left, you might be ru...

plus d'un an ago | 1

Answered
How to replace a string at specific line number in a text file?
Try this: Read in the whole text file Split it on \r?\n to break it in to lines Now you have an array of lines, so you can ed...

plus d'un an ago | 1

Answered
Why does Matlab keep forgetting my path?
If I were you, I would give up on setting your path with pathtool or the Matlab GUI (since those try to change the path in the M...

plus d'un an ago | 1

Answered
My function only works in the online matlab and not on the one installed on my laptop
Check to make sure your script is not depending on any files you have in your Matlab Drive. Your Matlab Drive is available by de...

plus d'un an ago | 0

Load more