Question

Create an "equispaced" vector that includes a number of given points

Hi, I was wondering how I could make a vector that I have obtained with linspace for example of the style: v = linspace(0,7,8) ...

ungefär 2 månader ago | 1 answer | 0

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

2 månader 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...

2 månader 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, ...

3 månader 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...

3 månader 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...

4 månader 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...

4 månader 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...

4 månader 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...

4 månader 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)...

5 månader 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...

5 månader 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...

5 månader 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...

5 månader 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...

5 månader 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}...

5 månader 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...

5 månader 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...

7 månader 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(...

7 månader 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 ...

7 månader 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...

7 månader 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 ...

7 månader 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...

7 månader 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...

7 månader 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 ...

7 månader 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...

7 månader 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...

8 månader 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...

8 månader 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...

8 månader 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...

9 månader 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...

10 månader ago | 1 answer | 0