Community Profile

photo

Johannes Kalliauer


Institut für Mechanik der Werkstoffe und Strukturen

Last seen: 1 month ago Active since 2018

Statistics

  • Thankful Level 2
  • First Review
  • Revival Level 1
  • Thankful Level 1
  • Promoter
  • First Answer

View badges

Content Feed

View by

Answered
Precision in writetable()
You could use dlmwrite: https://www.mathworks.com/help/matlab/ref/dlmwrite.html dlmwrite('yourfile.txt',t{:,:},'\t','precision'...

2 months ago | 0

Answered
Why does MATLAB not export EPS files properly?
I would recommend to use 'ContentType','vector' of https://de.mathworks.com/help/matlab/ref/exportgraphics.html %EPS exportgr...

8 months ago | 0

Answered
Why is vector graphics chopped into pieces?
I would recommend to use 'ContentType','vector' of https://de.mathworks.com/help/matlab/ref/exportgraphics.html %EPS exportgr...

8 months ago | 0

Answered
how to make comments *not* wrap?
The answer (from 2015) of @Jon now with screenshot: Preferences -> MATLAB -> Editor/Debugger -> Language -> Comment formating ...

1 year ago | 3

Answered
How can I read the elements of an array backwards?
a horizontal vector can be fliped using fliplr x=1:4 x=fliplr(x)

1 year ago | 0

Question


How to simplify unit fractions?
u1 = symunit; u2 = symunit; x=2*u1.meter; y=5*u2.millimeter; frac=x/y double(frac) Results in frac = (2/5)*([m]/[mm]...

2 years ago | 1 answer | 0

1

answer

Answered
command "mex" in terminal I get "This is pdfTeX" instead of Matlab-mex-command
To solve this issue: 1) I renamed `/usr/local/texlive/2018/bin/x86_64-linux/mex` to something else 2) I added `export PATH=/op...

3 years ago | 1

| accepted

Question


command "mex" in terminal I get "This is pdfTeX" instead of Matlab-mex-command
If I run mex in terminal I get: This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=mex) restric...

3 years ago | 1 answer | 0

1

answer

Answered
Error 1 error C1083: Cannot open include file: 'mex.h': No such file or directory
Following worked for me: gcc -c -I /opt/MATLAB/R2018b/extern/include myMEXfile.c if I run mex I get: This is pdfTeX, Version...

3 years ago | 0

Question


Set the color of the axes per default to black (instead of dark gray)?
I am using %#!/bin/rm clc clear set(groot,'DefaultFigureGraphicsSmoothing','off') %not blurry function (circles) set(groot,...

3 years ago | 2 answers | 0

2

answers

Answered
length of a string
If you have _string_ not a _char_ then you have to use a different command to get the number of chars: <https://de.mathworks.co...

4 years ago | 4