photo

Julian Hapke


Volkswagen AG

Last seen: Today Con actividad desde 2014

Followers: 0   Following: 0

Mensaje

Estadística

All
  • Commenter
  • 5-Star Galaxy Level 1
  • First Review
  • First Submission
  • Promoter
  • Solver
  • 3 Month Streak
  • Thankful Level 1
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
M-file code formatting tool
Here's a MATLAB snippet that depends on the undocumented tree2str and mtree, but produces a reasonable result: tree2str(mtree(F...

12 meses hace | 0

Respondida
Does Matlab have the function to format script?
Here's a MATLAB snippet that depends on the undocumented tree2str and mtree, but produces a reasonable result: tree2str(mtree(F...

12 meses hace | 0

Respondida
How do I make both yyaxis axes zoom together?
Here's a function that does not rely on an activated zoom tool and also works for panning function yysync(ax) %YYSYNC links le...

más de 1 año hace | 0

Respondida
How do I include a MATLAB figure in a LaTeX document?
I recommend matlab2tikz from the FileExchange: matlab2tikz Those plots integrate into the whole LaTeX style very well.

más de 1 año hace | 1

Respondida
Forward optional args to another function
there is namedargs2cell in the examples they use it for forwarding of name-value arguments.

más de 2 años hace | 2

| aceptada

Respondida
inputdlg in the app designer
I think this solution should work for inputdlg as well: https://de.mathworks.com/matlabcentral/answers/296305-appdesigner-windo...

más de 3 años hace | 0

| aceptada

Respondida
readtable (excel) behavior for string type with empty cell vs spaces
If you do not use the FillValue property of the VariableImportOptions, but set EmptyFieldRule to "auto", missing strings are imp...

más de 3 años hace | 0

Respondida
How do features from 'license' correspond to names from 'ver'
Here's what I use: EDIT: Now all features known to the current release are listed, not only the installed ones. function OUT =...

más de 4 años hace | 6

Respondida
MATLAB Crashes when Using Conda Environment Other than Base
Try this: load your environment in a seperate promt, have a look at the path variable (assuming windows here) echo %PATH% unl...

más de 5 años hace | 9

Respondida
Is it Posible to remove background and box in data tip? The data tip cover my graphic
set(h, 'BackgroundAlpha', 0) with h being the handle of the datatip. When you create the DataTip by hand, you don't have the...

alrededor de 6 años hace | 0

Respondida
Checking if minimum of a matrix occurs on the diagonal
with a slight modification of Adams comment: diag(testMatrix) == min(testMatrix , [], 2) min accepts the dimension in wh...

alrededor de 6 años hace | 0

| aceptada

Respondida
How can I use a legend for only only line in a subpot?
the legend is correct for what you plotted, each iteration creates 3 plots, the namesConditions has 4 entries, which are assigne...

más de 6 años hace | 0

Respondida
How to remove cells that look seemingly like newline character from cell array?
You should determine which character you are seeing: Extract a cell that contains only the character in question and convert ...

más de 6 años hace | 0

Respondida
Assign XLabel, YLabel from variable, fix YLim
doc xlabel Edit: extented explanation: ax_handle.XLabel returns a handle for the label. This object has a property named "...

más de 6 años hace | 0

Respondida
How to write code the Chebyshev and Mahalanobis distance using bsxfun function?
Hi, your example code does not work. Bsxfun cannot operate on those arrays. When X (as in your case) is an Nx2 matrix, and y...

más de 6 años hace | 0

| aceptada

Respondida
sprintf - Linux OK but Windows Warning: Escaped character '\.' is not valid. See 'doc sprintf' for supported special characters.
The warning you get should be: Escaped character '\%' is not valid. What you want is a platform dependent filesep ...

casi 7 años hace | 0

Respondida
Change a for loop iteration if condition is met
with a while loop: a=5; b=0; c=0; t = 1; while t <=100 a = a+t; if a == 20 b = 20; ...

más de 7 años hace | 0

Respondida
Drawing a white line on an image using (rho, theta).
My comment was the answer, so to stick to the structure of this forum: Your calculation of x and y yields to wrong values. If...

más de 7 años hace | 0

Respondida
vector thats sorts values , even or odd, using only function
I agree with Guillaume and Jan, you should explain a bit more of your problem. I'm not going to write the function, but here are...

más de 7 años hace | 0

Respondida
How to implement a (semi)automated algorithm for thorax and lung segmentation?
Have a look at <"https://de.mathworks.com/matlabcentral/answers/182511-model-reconstruction-from-ct-slices" this> and the mentio...

más de 7 años hace | 0

Respondida
How can read binary file one by one?
have a look at the <https://de.mathworks.com/help/matlab/ref/fread.html fread> function

más de 7 años hace | 2

| aceptada

Respondida
Does relative velocity vector lie on the line?
define a vector between the two points and check if the cross product of the delta velocity and the connection vector is 0. so i...

más de 7 años hace | 1

Respondida
points too close XY space
assuming only neighboring points are of interest: % find close points, add first index because diff is one shorter than x ...

más de 7 años hace | 0

Respondida
How can I count the occurrences of each element in a vector in MATLAB?
here is another one: sum(bsxfun(@eq,x,x'),1) or if you want the output to be the same orientation as input sum(bsxf...

más de 7 años hace | 3

Respondida
matlab 2016a figure window incorrect position and size
If the problem still exists, just add this line to the startup.m in your startup directory or your userpath. set(0,'default...

más de 7 años hace | 1

| aceptada

Respondida
Convert matrix to vector of structs
simpler without any external functions olderpatients = structfun(@(X) X(data.age>80),data,'Uni',false);

alrededor de 8 años hace | 1

Respondida
How can I assign data from multiple spreadsheets to the same vector using one of the columns as the variable name?
I copied your example sheet to example.xlsx and tested the code below. Please Note the remarks, I would not recommend the use of...

alrededor de 8 años hace | 1

Respondida
Why doesn't the quiver object property MaxHeadSize work?
Here's my findings... Testcode: function tst close all figure(3) clf; hold on for ii = 1:15 ...

más de 8 años hace | 0

Respondida
Merging 10 scatter plots produced with different RNG sequences
you can access the data of each plot by X=cell(10,1) Y=X for ii = 1:10 f = open('figure_ii.fig') % use the cor...

más de 8 años hace | 0

Respondida
Are there any predefined discrete color set with optimal neighboring contrasts?
have a look at this: <http://www.mathworks.com/matlabcentral/fileexchange/29702-generate-maximally-perceptually-distinct-colors...

más de 8 años hace | 1

Cargar más