Community Profile

photo

Benjamin Kraus

Last seen: Today 2013 年からアクティブ

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • Thankful Level 2
  • 12 Month Streak
  • Solver
  • Personal Best Downloads Level 3
  • GitHub Submissions Level 3
  • Knowledgeable Level 5
  • Pro
  • Revival Level 2
  • Explorer
  • First Review
  • First Submission

バッジを表示

Content Feed

表示方法

回答済み
String convertion to date
Note, I don't speak Spanish, so I'm not sure of the proper user of "de" and "del", so this answer may need to be adjusted. I su...

約21時間 前 | 1

回答済み
Locking the Legend even if the object is deleted
As @Bjorn Gustavsson suggests, your best bet is to create proxy objects that are represented in the legend, but are not visible ...

約21時間 前 | 0

| 採用済み

回答済み
How to close a figure used for keypress function?
As @W. J. stated, your code seems to run fine if you just remove the call to UserFeedback from after the call to waitfor. Alter...

約21時間 前 | 0

| 採用済み

回答済み
How to use multiple colorbars on one figure?
There are two concepts that I think you may be confusing: The colormap which is a set of colors used to map from data to color....

4日 前 | 1

| 採用済み

回答済み
Figure Subplot Tiles Customization
I don't see an attached picture, but I think I understand what you are trying to do. First, I recommend trying tiledlayout inst...

15日 前 | 1

| 採用済み

回答済み
Write a row and column vector as matrix index
Is meshgrid or ndgrid what you are trying to do? [X,Y] = meshgrid([4 5 3],[4 5 3]) [X,Y] = ndgrid([4 5 3],[4 5 3]) After call...

15日 前 | 1

回答済み
imagesc or equivalent with datetime as x axis.
It is a bit of a hack, but another option (if you want to continue using imagesc) is to "preconfigure" the axes for datetime usi...

21日 前 | 1

| 採用済み

回答済み
connect nodes (coordinates of a matrix rx3) with a line
You can specify the LineWidth when you call the plot command. data = readmatrix('data.txt'); x = data(:,1); y = data(:,2); s...

約2ヶ月 前 | 0

回答済み
How do I save plots calculated by gamultiobj separately?
Unless the code that is doing the computation is explicitly leveraging some form of parallel processing, the code that exports f...

約2ヶ月 前 | 0

| 採用済み

回答済み
sgtitle disappearing when getframe saves frame for animation
When I run a slightly modified version of your code, the resulting image includes the "main title". I tested in R2022b. Here is...

2ヶ月 前 | 0

| 採用済み

回答済み
How to create a callback function to start and stop recording EMG Button in real time for Delsys Trigno.
I didn't dig into your code specifically, but here is code for a simple app with a timer and a start/stop button that shows how ...

3ヶ月 前 | 0

回答済み
Adding transparency to one contour plot based on another contour plot
Good news! Starting in MATLAB R2022b, creating transparent contour plots is supported out-of-the-box in MATLAB. You can adjust ...

3ヶ月 前 | 2

回答済み
How to plot data from cells?
When you say "plot the data", can you provide a little more information about kind of picture you are trying to create? What dat...

3ヶ月 前 | 0

| 採用済み

回答済み
class1 as property of class2, class1 property initialization?
In your definition of mainClass you created a property with the name class1, not the type class1. This is what you want: class...

3ヶ月 前 | 0

| 採用済み

回答済み
How does one disable the menu that appears when one hovers on a plot?
You can set the Toolbar property on the axes when you create it. ax = axes; ax.Toolbar = []; If you want that to be the defau...

3ヶ月 前 | 0

回答済み
bubblelegend doesn't work (2021b)
bubblelegend was released in R2020b, so it should work in R2021b. My guess is you have something wrong with your MATLAB path. Tr...

3ヶ月 前 | 0

| 採用済み

回答済み
Running files in folders in loop.
You can use the dir command to get a list of the files/folders. d = dir('**'); Once you have the list, you can loop through th...

4ヶ月 前 | 0

回答済み
Area integration with the point where the mouse selected
You can use ginput to click and select points from a figure window. Once you've got the points, "integrating the area under the...

4ヶ月 前 | 0

回答済み
Setting the name of the Matlab Command Window
No, there is no way to modify the title of the MATLAB command window.

4ヶ月 前 | 1

| 採用済み

回答済み
Pushbutton callback not working
This looks like the same question/issue you were having in this other post. I've responded there.

4ヶ月 前 | 0

| 採用済み

回答済み
pushbutton callback doesn't work
I think at a high level the issue you are having is that you are missing a signal to your script that the user has pressed the O...

4ヶ月 前 | 1

| 採用済み

回答済み
How to plot spatial data
As the error says, lat and lon need to be the same size. Based on the shape of your variables, I suspect you need to use meshgr...

5ヶ月 前 | 1

回答済み
Function, dot, help me for solution
This line has the error: sm=@(W) v*N*L*R/(4*W.*(L/C)^2); Specifically: W is an anonymous function, so you can't do 4*W. That i...

6ヶ月 前 | 1

| 採用済み

回答済み
How can I the show the solution/results in table form?
There is still some polish you probably need to make, but here is one approach to displaying your results in a table: a = 0; b...

6ヶ月 前 | 0

回答済み
Is it possible to use gscatter within app designer?
What release of MATLAB are you using? Starting in R2019b, gscatter should work just find within App Designer, but you need to m...

6ヶ月 前 | 0

回答済み
How to import multiple variable starting the same from excel?
It is hard to offer detailed advice without more information about the structure of the Excel file, and what you mean "this solu...

6ヶ月 前 | 0

回答済み
AppDesigner: Getting a UIAxes' enableDefaultInteractivity to work with a UIFigure's WindowButtonDownFcn?
There seems to be a subtle bug going on with your app. I can narrow down the issue to this code: % Code in your startupFcn f =...

7ヶ月 前 | 1

| 採用済み

回答済み
How can I plot this function such as all values of |f(1/z)| be more clear and how can I plot the cosine of the phase of this function ?
It looks like the nearly infinite value in your data is drowning out the remaining data. You can fix this by changing the z-limi...

7ヶ月 前 | 0

| 採用済み

回答済み
Error message I don't understand
I think that error message means that the first input to xline was an empty vector. Have you modified the example at all in a wa...

7ヶ月 前 | 0

回答済み
Why does copyobj() fail to copy over title fontsizes (and also colorbars and colormaps)?
Matt, The issue with copyobj and the FontSize on axes is a known bug. The issue relates to there being two sources of truth: th...

8ヶ月 前 | 2

| 採用済み

さらに読み込む