Community Profile

# Julius Muschaweck

### JMO GmbH

Last seen: 1 month ago Active since 2021

I'm a freelance physicist, specializing in illumination optics. I am an experienced optical design expert, and I teach courses on illumination optics. For more: https://www.jmoptics.de

Programming Languages:
C++, MATLAB, Visual Basic
Spoken Languages:
English, German

All

#### Content Feed

View by

Unrecognized function or variable "Run Python script file from MATLAB"
In my Matlab 2021a, I get the same error message. In the online documentation, it says "Introduced in R2021b". It seems you're...

2 months ago | 0

| accepted

Submitted

JMO_Spectrum
Matlab tool set for working with spectra, i.e. functions of wavelength (create, add, multiply, compute color coordinates and muc...

What should be the distance between the two cameras?
With a stereo vision camera pair, intended to create pairs of images for 3D vision, the key quantity is the "stereo angle": The ...

4 months ago | 1

Extracting positive and negative element of a matrix?
Use logical indexing: A = rand(10,10, 10) - 0.5; % contains random numbers in [-0.5, 0.5] B = zeros(10, 10, 10); % prealloca...

5 months ago | 0

| accepted

AUC between different size curves
I would use interp1 to interpolate both functions so they have the same high resolution x support. You can easily replace the 0....

5 months ago | 0

| accepted

angular data spline interpolation
Your x has five values, your y has seven values. This is a mismatch. I think you should use y = [0 1 0 -1 0; 1 0 -...

5 months ago | 0

| accepted

Using fprintf to save a matrix changes the order of my matrix
Your matrix does not change. You are outputting the values in your matrix, six numbers per line, as it is stored internally. And...

8 months ago | 0

Extract variables from a text data and add them to an array to plot a graph
Inspired by https://uk.mathworks.com/matlabcentral/fileexchange/17177-ini2struct Your example input is attached as SomeNameValu...

9 months ago | 0

Extract data between thresholds
I believe logical indexing and the diff function are what you need. % create and plot something like your data x = 0:300; % so...

10 months ago | 0

Importing 3 spectrum data, plot representative spectrum for each sample all in same figure
It's hard to reproduce what you did without the jpeg files. But, maybe hold on is what you need: figure(); plot([1 2],[1 2])...

10 months ago | 0

clear a MATLAB function after an episode
Assuming your function has the name f, you can use clear f; to clear persistent variables within f. Like here: function f() ...

10 months ago | 0

How to add a little white space around the figures by using "print" command?
A simple plot as an example: figure() plot([1 2], [1 2]); set(gcf,'position',[400, 200, 560, 315],'PaperOrientation', 'landsc...

10 months ago | 0

| accepted