Question

Select image region using point coordinates

Hi, I was wondering if someone could do quickly and efficiently the selection of a region within the multiple ones that matlab m...

6 days ago | 2 answers | 0

Question

Organizing images in datastore and accessing them with parameters

Hello everyone. I had the following question and was wondering if someone could help me solve it. Let me explain below. In a ce...

8 days ago | 1 answer | 0

Question

Search for combination of parameters that make minimum function output.

Hi, I know there is a lot of information on the subject but I can't seem to find something that fits or that I just understand, ...

22 days ago | 1 answer | 0

Question

Speed control and Position of DC motor using PID and Simscape

Hello everyone. I was wondering if anyone would know how I can ,starting from this DC motor layout, design on the one hand a spe...

2 months ago | 1 answer | 0

Question

How to add movements to a drone model

Hello good morning, I would like to know if someone can help me to solve this problem. I have a drone model that I have impor...

2 months ago | 0 answers | 0

Question

Determine the percentage of proximity of a point with respect to the theoretical

Hello, I need to calculate the percentage of proximity that has a real point with respect to a theoretical one that is located i...

2 months ago | 1 answer | 0

Question

Real time plot configuration

Hello, good morning. I would like to know if it is possible to recreate something like the gif I attached with matlab. This ex...

2 months ago | 0 answers | 0

Question

Real time plot arduino in app designer

Hello, I was wondering if anyone would know how you can get that given an arduino that for example had to an analog input (A0) a...

2 months ago | 1 answer | 0

Question

Convert matrix to cell knowing the number of components to have in each cell

Hi, does anyone know how I could go from the data matrix to cell A knowing that, in this case: idx = [2;4;3]; data = rand(9,2)...

3 months ago | 1 answer | 0

Question

delete positions from a matrix according to a given set of conditions based on matrix elements

Hello, what I intend to achieve starting from an example matrix like the one that could be data: Detect for each different la...

3 months ago | 1 answer | 0

Question

Convert for loop with cells and polyarea into a cellfun function

Hi, I was wondering if it would be possible to convert those lines of code of the for loop into the same expression but using th...

3 months ago | 1 answer | 0

Question

Convert a cell with structures into a matrix

Hi, does anyone know how to could I go from the information I have stored in the variable A to what I have in the variable matri...

3 months ago | 2 answers | 0

Question

Improve the performance of a function based on str2double

Hi all, I have a function that given a line of text coming from a TXT file containing information of the type: LINE1: N1...

3 months ago | 2 answers | 0

Question

Convert cell of matrix into one matrix

Hi, does someone know how can I convert cell A into matrix B as the exameple bellow? % Where A is: A{1} = [1 2 3;4 5 6]; A{2}...

3 months ago | 2 answers | 0

Question

Reverse data set as the example

Hello, greetings to all. I was wondering if anyone would know if there is a function that receiving a data set like this small e...

3 months ago | 1 answer | 0

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

5 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(...

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

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

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

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

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

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

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

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

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

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

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

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

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

8 months ago | 1 answer | 0