Community Profile

photo

Julius Muschaweck


JMO GmbH

Last seen: 5 Tage vor Aktiv seit 2021

Followers: 0   Following: 0

Kontakt

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

Statistiken

All
  • Personal Best Downloads Level 1
  • Knowledgeable Level 2
  • First Submission
  • GitHub Submissions Level 1
  • 3 Month Streak
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
Is it possible to just set the lower limit of the y-axis?
Two related ways I'm aware of (besides computing the max, which may be tedious with multiple plotted lines). xx = linspace(0,2*...

6 Tage vor | 1

| akzeptiert

Beantwortet
Matlab display images oriented by 180.
Here: https://magnushoff.com/articles/jpeg-orientation/ is a nice and comprehensive explanation of the orientation tag values. I...

mehr als ein Jahr vor | 1

Beantwortet
How to compute uv coordinates for an arbitrary quad?
With A == [Ax, Ay], etc, and a point P == [Px,Py] for certain u,v, the first step is indeed to subtract A from B, C, D and P, ef...

mehr als ein Jahr vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

fast 3 Jahre vor | 0

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

fast 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

Beantwortet
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() ...

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
Finding position of value in an array
clear all; close all; clc; y = [-3.2628 -2.4774 -1.6920 -0.9066 -0.1212 0.6642 1.4496 2.2350 3.0204]; x=-2...

etwa 3 Jahre vor | 1

Beantwortet
Creating a function with equation as an input
Your "equation" seems to be a function depending on p, p1, q, q1. I would use an anonymous function to model this behavior. An...

etwa 3 Jahre vor | 0