photo

Johannes Kalliauer


Institut für Mechanik der Werkstoffe und Strukturen

Last seen: 11 maanden ago Active since 2018

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

Answered
How to save a binary image
imwrite(logical(B),'output_binary.png'); % getting example file from internet rgb = webread('https://www.mathworks.com/ma...

bijna 2 jaar ago | 0

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

meer dan 2 jaar 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...

bijna 3 jaar ago | 5

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...

bijna 3 jaar 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 ...

meer dan 3 jaar ago | 4

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)

meer dan 3 jaar ago | 1

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]...

meer dan 4 jaar 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...

ongeveer 5 jaar 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...

ongeveer 5 jaar 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...

meer dan 5 jaar 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,...

meer dan 5 jaar 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...

bijna 7 jaar ago | 4