photo

Marc Laub


Last seen: 2 months ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


Random numbers from randsample suddenly repeating
Hey, I have a problem with my random numbers that suddenly start to repeat. Unfortunately I cant chare my code that generat...

5 months ago | 1 answer | 0

1

answer

Question


Comparing 2 histograms in a barh-plot
Hey, I want to compare 2 histograms in a barh plot. Taking an arbitrary 'VaseValue', I want to plot one histogram to the left...

10 months ago | 1 answer | 1

1

answer

Question


Problem evaluating very small numbers
Hey, following problem I trie to calculate probabilities from a bernoulli process. So lets say I have a pool with 2 kind of ba...

11 months ago | 3 answers | 0

3

answers

Question


lokale Extrema in 4D über sweep finden
Hallo, ich habe folgendes Problem: Gegeben sei eine Function f(a,b,c). Diese Funktion hat 2 Extrema, die ich gerne wissen mö...

12 months ago | 0 answers | 0

0

answers

Question


Accelerating code wont work
Hey guys, I got a piece of code, that has to run repetitive and I would be glad if I could reduce execution time, since I do no...

1 year ago | 1 answer | 0

1

answer

Question


Placing points depending on density distribution
Hi, Some context for my problem: I am calculation diffusion (concentration profiles) in 1D (radial diffusion in a sphere). Bec...

1 year ago | 0 answers | 0

0

answers

Question


Binning 3D data und reasign Bin properties to data
Hey, following problem I have following problem: I have 3D data from which I need to calculate properties. To reduce the calcu...

2 years ago | 1 answer | 0

1

answer

Question


Extracting data from handle objects
Hey, I have following problem. I have multiple handle class objects which all have a propertie which can either be a scalar or ...

2 years ago | 1 answer | 0

1

answer

Question


Vectorize class function over all objects
Hey, I have a handle class and each of those classes has some properties that will be changed over time repeatedly. classdef p...

2 years ago | 1 answer | 0

1

answer

Question


Acess all last array elements withtin cells
Hey, I need to store somae data and later acess them again. For further calculation that is done repetedly I would prefer to a...

2 years ago | 2 answers | 0

2

answers

Question


Check if cell contains another cell
Hey, I need to check if my cell contains another cell or if the contant is a character vector. So I got a a=1x130 cell and ...

2 years ago | 2 answers | 0

2

answers

Question


Receiving different results from custom function depending on input
Hey guys, I have a function which is basically just a concatenation of polynoms, log-terms... i handles 3 input variables and...

2 years ago | 0 answers | 0

0

answers

Question


Give gradient to fmincon
Hey, so I am using fmincn to solve a problem. Im somehow not to satisfioed with the results because the solver seems to bug its...

2 years ago | 1 answer | 0

1

answer

Question


is it possible to use function without toolbox
Hey everyone, I am currently trying to solve a problem, I actually solved it, and I need the fmincon function from the optimiza...

2 years ago | 2 answers | 0

2

answers

Question


define nonlcon in fmincon
Hey, I am trying to finc the minimum of a 4 variable equation using fmincon. Looking at the solution fmincon presents and saw t...

2 years ago | 1 answer | 0

1

answer

Question


fminsearch with side conditions
Hey, I have a equation where I am looking for the minimum. The equation has 6 variables, but due to interdependencies it can ...

2 years ago | 1 answer | 0

1

answer

Question


Problems with fminsearch giving startvalues as result
Hey, I am trying to minimize Gibbs enthalpie dependant an phase fraction and phase compositions. So i set up an equation whic...

2 years ago | 2 answers | 0

2

answers

Question


Plotting vertical line with specified color
Hey, I want to visualize the development of a distribution over time. Therefore I want to plot the distribution of the diame...

3 years ago | 1 answer | 0

1

answer

Question


Indexing a multidimensional matrix with a second logical matrix
Hello, I want to setup dummy orientation given a binary image. I have a binary images (data) with withe regions separated from...

3 years ago | 1 answer | 0

1

answer

Question


Changing Errorbar Markersize within Legend
Hey, following problem: I am plotting some errorbars in my figure. I control the appearend size of the y value with 'Markersiz...

3 years ago | 1 answer | 0

1

answer

Question


Writing a small epsilon in xlabel with color
Hey, I wanted to write a red small epsilon in my label \color{red} \epsilon was my first try, but is was the epsilon version i...

4 years ago | 1 answer | 0

1

answer

Question


How to remove horizontal and vertical artefacts from image
Hey, I have some images that where stiched together from multiple images and now after the calculations these stich lines whi...

4 years ago | 1 answer | 0

1

answer

Question


Variable cell array size for mex function does not work
Hey, I' am trying to bypass the 32bit limit of the MatLab coder, so I chunked my matrix into pieces and wnt to give that pieces...

4 years ago | 0 answers | 0

0

answers

Question


Editing code for mex function to support 64 bit indexing
Hey, I want to speed up my code by using a mex function, I actually already did but the probem is that MatLab coder only suppor...

4 years ago | 0 answers | 0

0

answers

Question


How to change font in legend while using latex interpreter
Hey, I needed a fraction bar in my legend, so I used latex as interpreter, but now the legend font is in the default tex math f...

4 years ago | 1 answer | 0

1

answer

Question


Describe to plots in one line in legend
Hey, I have a plot full of lines and to not overload the legend I wanted to only describe some major differences between the ...

4 years ago | 1 answer | 0

1

answer

Question


How to manually edit MatLab Coder .mex-file code to support 64bit indexing
Hey, I have a problem that mex files generated by MatLab Coder only supports 32bit indexing, which is the reason my program get...

4 years ago | 1 answer | 0

1

answer

Question


Unexpected unknown exception from MEX file..
Hey, I wrote my bottleneck function as a mex function and it works well so far, but at a sudden point in my programm I just g...

4 years ago | 0 answers | 0

0

answers

Question


Change position of exponent of y axis in figure
Hey, I am wondering if there is a possibility to change the position of the exponent of the y axis in a figure. In my case the...

4 years ago | 0 answers | 0

0

answers

Question


Convert function with struct input to mex while number of fields is unknown
Hey guys, I am trying to translate a matlab function of mine into a mex function but I am facing some issues. The problem is, ...

4 years ago | 0 answers | 0

0

answers

Load more