photo

Benjamin Kraus

Last seen: 1 dag ago Active since 2013

Followers: 3   Following: 0

Message

Programming Languages:
C++, Javascript, MATLAB, HTML, CSS, Arduino, Shell
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
MATLAB Answers

0 Questions
338 Answers

File Exchange

7 Files

Cody

0 Problems
7 Solutions

RANK
114
of 298.949

REPUTATION
1.126

CONTRIBUTIONS
0 Questions
338 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
215

RANK
2.887 of 20.661

REPUTATION
571

AVERAGE RATING
4.70

CONTRIBUTIONS
7 Files

DOWNLOADS
34

ALL TIME DOWNLOADS
5639

RANK
45.128
of 162.957

CONTRIBUTIONS
0 Problems
7 Solutions

SCORE
81

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • MATLAB Central Treasure Hunt Finisher
  • Thankful Level 4
  • 36 Month Streak
  • Solver
  • 5-Star Galaxy Level 3
  • Personal Best Downloads Level 3
  • Knowledgeable Level 5
  • Pro
  • GitHub Submissions Level 3
  • Revival Level 2
  • Explorer
  • First Review

View badges

Feeds

View by

Answered
autocomplete filenames paths function input
I don't think it is possible to do what you are requesting using an arguments block alone without also using functionSignatures....

5 dagen ago | 0

| accepted

Answered
Revert the 2025 Editor taskbar icon
There is no preference to change this behavior. I will capture this feedback so we can look into changing this back in a future ...

5 dagen ago | 2

| accepted

Answered
How can one switch between locations of same namespace in one file system?
If you have two folders on the path that both include the same namespace folders, their contents will be merged. If there are fi...

5 dagen ago | 1

| accepted

Answered
A question about text string concatenation
The issue you are having is that Cruise_ID(Ind3) is a scalar string and not a character row vector. Concatenation works differe...

5 dagen ago | 1

Answered
plot 2D-function: x and y Range
While @Abhishek's solution is a fine solution, there is no restriction that the x and y input to the surf command are the output...

6 dagen ago | 0

Answered
Coloured circles on a mesh
What approach did you use to draw the rectangles? The easiest approach to drawing circles in MATLAB is using the rectangle comm...

8 dagen ago | 0

Answered
Assigning tstart to tic, when tic is a timer start function
As @Stephen23 said, if you have an app, storing the output from tic in a property on your app is a good approach. However, anoth...

8 dagen ago | 0

| accepted

Answered
catch line using callback
The function that is called by the ButtonDownFcn has the line that you clicked on as an input argument. mycallback = @(o,~) set...

11 dagen ago | 0

| accepted

Answered
Can't clear workspace from GUI in Matlab 2025a
I'm not sure why Clear Workspace is not available, but have you tried the clear command? Just run this in the command window: ...

12 dagen ago | 1

Answered
Inheritance, abstract and constant properties.
Based on this statement: What I really want is: #define foo (1) #if MY_SW_VERSION > 1 #define baz(2) #else #define baz(1) ...

13 dagen ago | 0

| accepted

Answered
Custom contour level labeling not working
Assuming you are using MATLAB R2022b or newer, I would recommend leveraging the LabelFormat property, which lets you specify a c...

13 dagen ago | 1

| accepted

Answered
Matlab not saving .mlx
Are you saving your Live Editor scripts before you exit from MATLAB Online? Note that you can run an unsaved Live Editor script...

18 dagen ago | 0

Answered
Version 2025a does not open the editor.
Try the answer posted in this thread and see if it works for you.

18 dagen ago | 0

| accepted

Answered
Adding Drop Down Control
Write your code like this: fs = 10000; t = 0:1/fs:1.5; wave = "Sawtooth"; f = str2func(lower(wave)); x = f(2*pi*50*t); plo...

18 dagen ago | 1

Answered
Migrate preferences to R2025a
When you start MATLAB, it first looks for a preferences directory that corresponds to your current release (in this case R2025a)...

18 dagen ago | 1

| accepted

Answered
making the graphic smaller
Riffing off @William Rose's answer: If your goal is a specific aspect ratio in your axes, both on-screen and/or exported, you w...

20 dagen ago | 1

Answered
Get displayed axes limits for log scale
There is (unfortunately) no way to query the actual limits in the case you described above, but based on your last sentence, I s...

21 dagen ago | 1

Answered
Transfer history to MATLAB 2025a
When you start MATLAB for the first time it will automatically look for an old MATLAB preferences directory and automatically im...

21 dagen ago | 2

| accepted

Answered
Saveobj and Loadobj for arrays of objects
It sounds like you may benefit from switching to an object that "fakes" its size. Some examples of objects that do this (that sh...

21 dagen ago | 2

| accepted

Answered
Cannot position third y-axis on the right
Here is another approach for adding a third y-axis that leverages tiledlayout. tcl = tiledlayout(1,1); ax1 = axes(tcl); yyaxi...

3 maanden ago | 1

Answered
Is it possible to orient the legend's symbols vertically instead of horizontally?
Does this work for you? This uses only fully documented features. x = linspace(0, 10, 100); y1 = sin(x); y2 = cos(x); plot(x...

3 maanden ago | 0

Answered
Cannot position third y-axis on the right
The issue you are running into is that calling plot resets your YAxisLocation. ax = axes; ax.YAxisLocation = 'right'; plot(ax...

3 maanden ago | 0

Answered
No plot browser functionality for charts derived from matlab.graphics.chartcontainer.ChartContainer?
There is currently no way to integrate your custom charts (created by subclassing matlab.graphics.chartcontainer.ChartContainer)...

4 maanden ago | 0

| accepted

Answered
Multiple custom graphics object inheriting from ChartContainer
I can't reproduce this issue, but a couple things to keep in mind: Subclasses of ChartContainer are children of UI containers (...

4 maanden ago | 0

| accepted

Answered
ChartContainer is broken?
@Jan Kappen: This is a question that frequently comes up. Let me try to explain our reasoning for making this change. One of ou...

5 maanden ago | 2

| accepted

Answered
Default path issue- does path need to be set to the toolbox folder in Matlab on the Mac in Matlab 2022a?
Check if you have a redundant copy of pathdef.m: which -all pathdef If you see more than one entry (in particular, an entry th...

6 maanden ago | 0

| accepted

Answered
how to change axis font color?
There are several color related properties on the axes, but the one you are looking for is the XColor or YColor (or ZColor). ax...

6 maanden ago | 1

| accepted

Answered
How to Add Constraint Lines with Ticks to Both Plot and Legend in MATLAB?
If you have access to the Aerospace Toolbox (and MATLAB R2021b or later), you can use the boundaryline command to draw something...

7 maanden ago | 1

Submitted


Sparklines Component
Create small graphs which show the general trend of data.

7 maanden ago | 2 downloads |

0.0 / 5
Thumbnail

Submitted


Spike Raster Plot
A spike raster plot from spike time stamps with optional trial and group data.

7 maanden ago | 10 downloads |

5.0 / 5
Thumbnail

Load more