Community Profile # Maik

Last seen: 6 days ago Active since 2022

#### Statistics

• • • #### Content Feed

View by

Question

Matching points between two point sets.
Set 1 size 20x2 and Set 2 size 23 x3. I want to remove 3 points from Set 2 which would be points missing in Set 1 but the po...

3 months ago | 1 answer | 0

### 1

Adding multiple labels to a graph
% You can use nodenames propertiest of digraph. However the names must be unique s = [1 2 3 4 6 7 8 10]; t = [3 3 4 5 7 5...

4 months ago | 1

How do I change the interval on one of my axis at different points along the axis?
You can try setting axes properties that should keep the scale. x1 = 0:0.1:40; y1 = cos(x1).^2; x2 = 1:0.2:20; y2 = sin(x...

4 months ago | 0

I am trying to randomize a marker color
I assume the randi in your program was the problem. Here below we use it to generate a single value everytime and pass it to th...

5 months ago | 0

Labeling an Image (houghcircle)
% Code: clear all clc %Show Image in GrayScale I = imread('coins.png'); imshow(I) BWI = im2gray(I); figure imshow(BWI) ...

5 months ago | 0

H,S,V components
Im = imread('peppers.png'); % Display RGB image figure;imshow(Im); % Convert RGB to HSV hsvIm = rgb2hsv(Im); % ...

5 months ago | 1

| accepted

Error using horzcat Dimensions of arrays being concatenated are not consistent.
That error can be overcome if you use transpose as vectors of different dimensions can be concatenated horizontally. Here your...

5 months ago | 0

| accepted

how do plot x(n)=u(n-2)-u(n-5)
n = (-20:20); u_n = n>=0; u_n_2 = n>=2; u_n_5 = n>=5; u_diff = u_n_2 - u_n_5; subplot(3,1,1); stem(n,u_n_2);xlim([-15 15])...

5 months ago | 0

| accepted

how to Write a function that takes a file name as its only argument (input value) in Matlab ?
You can save the file as a function with no inputs and pass its output as inputs to the second function. 1st Function = sumOfN...

5 months ago | 0

The 2D convolution in spatial frequency domain
You can replace the convolution with Fourier Multiplication. I = randi([1 256], 512,512); J = randi([1 256], 512,512); % T...

5 months ago | 0

How to make this crank slide animation do 3 revolutions?
It can be done using two "for" statements. p01fig = figure; r = 2; d = 5; t = mylinspace(0,2*pi,45); [x,y] = mycircle(r,t);...

5 months ago | 0

| accepted

How can I make a filter with the Lorentzian peak to use in imfilter?
You can try generating Lorentzian mask by fitting on random or Gaussian data and converting it to mask. For more customizati...

5 months ago | 1

Too many Input arguments error
For the vpa function y==terrain is your x argument. No need to mention x in the input. s=vpa(y==terrain,x, '6'); Instead us...

5 months ago | 0

Is it possible to change specific markers in the same data set on a probplot?
%% Sample Data rng('default'); x = wblrnd(3,3,[20,1]); figure; hdata = probplot(x); %% Get the X & Y data points from hda...

5 months ago | 0

How do I turn off arrowhead using quiverm (Mapping Toolbox)
You could change the marker shape and then delete it using findobj. %% Sample Data From Mathworks Help Page load("wind","x...

5 months ago | 0