Question

From XY array data in pixels to BW image

Hi, I have a XY array matrix called A , the first column are the X values (column of the image) and the second Y values (rows of...

2 months ago | 1 answer | 0

Answered

Reorganise data in structure cells according to a set of requirements

Thanks for everything but finally I knew how to solve it. B = unique(data(:,4)); SOL = cell(length(B),1); for i = 1 : length(...

Reorganise data in structure cells according to a set of requirements

Thanks for everything but finally I knew how to solve it. B = unique(data(:,4)); SOL = cell(length(B),1); for i = 1 : length(...

2 months ago | 0

| accepted

Question

Reorganise data in structure cells according to a set of requirements

Hello, I was wondering if anyone would know how to reorganize the data I have in the attached data matrix so that it creates in ...

2 months ago | 1 answer | 0

Question

Customize scatter figure with subplot

Hi, I have the following code that generates a plot like this: close all; clc labels = {'K_p' 'K_d' 'K_i' 'M_p'}; data = rand...

2 months ago | 1 answer | 0

Question

Create a 4D graphic with the function plotmatrix

Hello, I have the following information that has by columns the components X,Y,Z and the information to represent in the fourth ...

2 months ago | 1 answer | 0

Question

Simulink function to detect Step time

Hello, I need to create a function within simulink that allows me to know the step time value, that is, in this case the display...

2 months ago | 1 answer | 0

Question

alternate effect in simulink scheme

Hello, someone would know how to modify the simulink project that I am enclosing so that by means of some button or something th...

2 months ago | 1 answer | 0

Question

Simulink function that access to step final value

Hello, would anyone know how can I create a function to put in the third block of the figure that will allow to have a variable ...

3 months ago | 1 answer | 0

Question

Obtain max output value Simulink

Hello, I have a little doubt, someone could tell me how to get the maximum value of the output (curve shown in blue on the oscil...

3 months ago | 1 answer | 0

Question

Restore default figure parameter before running a Script

Hi everyone, I was wondering if anyone knew that after running the file found in here (I also attach the file) you can reset the...

3 months ago | 1 answer | 0

Question

Design PI regulator with constrictions

Hi, I needed to know if anyone knows how to carry out the next design of a PI C(s) regulator using the rltool or similar tool. I...

3 months ago | 0 answers | 0

Question

Algorithm to solve a system of two equations and a set of constraints

Hello, I was wondering if anyone could implement an algorithm that could solve a system of equations with 4 unknowns (a,b,c,d) a...

3 months ago | 1 answer | 0

Question

Disable app while calculating

Hi, I would like to know if there is an option to disable all buttons in the app while is calculating something made with a chan...

4 months ago | 2 answers | 0

Question

delete locally outliers with window size

Hi, I have the indx vector and I need to remote locally outliers to delete the one I have into the circle, does someone know how...

5 months ago | 1 answer | 0

Question

separate matrix into cells according to column value

Hi, I have a matrix like the one I show in A: A = [1 2 1; 2 2 1; 1 2 2; 2 2 3]; What I intend to achieve in each component of ...

5 months ago | 1 answer | 0

Question

create binary image with specific parameters

Hi, I need to create a binary image like the following from the following input arguments: Number of rows in the binary image...

5 months ago | 1 answer | 0

Question

omit for-loop per arrayfun function

Hello, let's see if someone could help me, starting from a BB matrix of dimensions m X 8 and containing the X and Y positions of...

5 months ago | 1 answer | 0

Question

Complete cell positions with NaN

Hello, I will try to give an example to illustrate what I want to achieve, it starts from a cell type matrix with 3 rows like th...

5 months ago | 1 answer | 0

Question

negative continuous position on vector

Hi I have a question, i know how to solve with the code I show in the bottom of the page but i think that it has to be an easyer...

5 months ago | 3 answers | 0

Question

Smooth data to get the best approximation.

Hello everyone, I was wondering if anyone knows how I could process the input data in such a way as to obtain something similar ...

5 months ago | 2 answers | 0

Question

waitbar bar inside two for loops

Hi, I have the folowing code (it's just a example) maxI = 2; maxJ = 3; cont = 1/(maxI*maxJ) for i = 1:maxI for j = 1 : ...

5 months ago | 1 answer | 0

Answered

Set position of tick labels

The previous answers doesn't work for me, so I tries with this and that works, it's more os less the previous answer: ax = gca;...

Set position of tick labels

The previous answers doesn't work for me, so I tries with this and that works, it's more os less the previous answer: ax = gca;...

6 months ago | 0

Question

Obtain matrix with YDIR reverse

Hello good morning, I have a problem to see if anyone can help me. I have an A matrix of , in the first column are the values o...

6 months ago | 1 answer | 0

Answered

Function with value after string

I found the solution, thank you so much. if isempty(find(strcmpi(varargin,'method'), 1)) method = 'csape'; else meth...

Function with value after string

I found the solution, thank you so much. if isempty(find(strcmpi(varargin,'method'), 1)) method = 'csape'; else meth...

6 months ago | 0

| accepted

Question

Function with value after string

Hi, i want to create a function with the same idea as the plot function when you write 'Marker' and then you put '+' it recogniz...

6 months ago | 1 answer | 0

Question

imcrop image with hold on plot

Does someone know how can I crop and image and a plot to obtein both the result in another figure, I tried with getframe and fra...

6 months ago | 1 answer | 0

Question

Match axis director image and plot

Hello there. See if anyone knows where I can find the answer to my question or see if anyone knows how to solve it. In this case...

6 months ago | 1 answer | 0

Question

Scale points on scaled image

Hello, greetings. I have a little question, see if anyone knows how to solve it. I have an image I, that to make the test, is g...

6 months ago | 1 answer | 0

Question

how to open a file from the previous folder

Hello, I have a folder hierarchy like the one in the image, I'm running a script from folder B and what I want is to open an ima...

7 months ago | 1 answer | 0

Question

Draw points on UIAxes until you press a button in APP DESIGNER

Hi, I have a problem, I'm developing an application using the app designer but there comes a moment when I have to be able to se...

8 months ago | 1 answer | 0