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

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

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

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

21 days 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)...

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

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

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

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

28 days 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}...

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

1 month ago | 0 answers | 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...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

6 months ago | 3 answers | 0