Community Profile

# Mathias Smeets

Last seen: 1 month ago Active since 2022

View badges

#### Content Feed

View by

Answered
error using readtable : Array indices must be positive integers or logical values.
This seems to work: opts = detectImportOptions('simpleData.txt'); tbl = readtable('simpleData.txt',opts); I hope this is what...

4 months ago | 0

Answered
What is the fastest version of matlab
It really depends on what function you're calling I think, check out this link.

4 months ago | 0

Answered
Only display warning once (for one time step) in diagnostic viewer
Set some parameter at the start of your code, for example warning_displayed = false; Now put an if statement around your warni...

4 months ago | 0

Answered
How can I detect the dark black socket from the dark or very reflective bacground?
I don't know a specific solution. However, here is a link that might help. I had a similar (easier) problem and I tried out a l...

4 months ago | 0

Answered
how to manual crop an ultrasound image
I always use this code to draw a roi: figure; imshow(image); axis equal title('Crop image based on first image taken') set(gc...

4 months ago | 0

Answered
Interpolation for x,y,z values
You are getting NaN points because some query points (for example your lowest y-values) are outside your actual data. It is not ...

4 months ago | 0

Answered
the number of elements in the vector segment
Probably not the best way to go but I got this: location = [ 2 3 7 8 9 10 25 26 27]; intervaltime = 6; for i = 1:5 resul...

4 months ago | 0

Answered
Identifying repeated patterns in data without knowing the pattern
Try working with the function groupcounts. This will detect which values are returning often in your code, this way you might b...

4 months ago | 1

Answered
i have a homework that i have been stuck on, can anyone help ?
I would recommend some matlab tutorial, since this is very basic. However: % make z from -5 to 5 with steps of 0.01 z = -5:0.0...

4 months ago | 0

Question

How to detect corners of irregular binary shape?
I have a lot of binary images similar like this: Now I want to detect the 4 corners of this (almost) rectangle. It is however...

4 months ago | 2 answers | 1

answers