Question

remove single outliers from vector

the device creates a vector for me where only double values are true, and all the rest I need to zero close all clear all cl...

16 jours ago | 1 answer | 0

Question

Averaging the selected vector ranges

Hello! I need to average the values of a vector over 25 values fr = mean(reshape(VectorTime, 25, [])); % Error using reshap...

5 mois ago | 1 answer | 0

Question

Find out how long after division will be an integer?

Hello! Is it possible to know when the condition will be met, what has been divided and the result is an integer? A=[1:100]; f...

9 mois ago | 2 answers | 0

Question

Loop for adding matrix elements

Hello! I have a matrix, in each column I need to add several elements (rows) of different lengths to the end of the column X=ra...

9 mois ago | 0 answers | 0

Question

averaging the matrix and creating an averaged matrix

Hello! I need to simultaneously average a section of the matrix, and I don't quite understand how to do it? Expl=rand(265,1010)...

9 mois ago | 1 answer | 0

Question

Extract vector from math file

Hello! I saved the file in mat format, but it is very large, can I highlight a specific part? load('C:/ABCdepobv.mat');

9 mois ago | 2 answers | 0

Question

Help set up averaging

Hello! I cannot figure out the averaging function B=rand(200,3000); bp=maen(B,5) % need to average 5 values in each column ...

9 mois ago | 1 answer | 0

Question

Is it possible to make a loop to run another loop?

Hello! I have a large matrix that I need to work with. Now I select a separate vector and work with it in a loop Xvector=Xmatri...

9 mois ago | 0 answers | 0

Question

make a vector from one value

hello! I have values 0.421, I need to make a vector of 1200 values of the same from it without a loop % I need to do withou...

9 mois ago | 1 answer | 0

Question

cycle for integrating vector sections

Hello! I have a vector that I need to integrate over the sections, the length of the section is 3 % now I use such a loop, bu...

9 mois ago | 1 answer | 0

Question

Matrix integral over layers

Hello! I have a matrix in it the number of steps per time. Is it possible to integrate each column of the matrix layer by layer ...

9 mois ago | 1 answer | 0

Question

slider for march chart

Hello! Help adjust the slider for the chart of the marshout (path) of the machine function SliderValueChanged(app, event) ...

11 mois ago | 1 answer | 0

Question

App Designer button click again

Hello! Do I need the first click of the button to delete the chart and all its contents, and the second click to return everythi...

11 mois ago | 1 answer | 0

Question

App Designer Edit Numeric how to express test

I need to create a graph in App Designer, but the graph is too large and I need to shorten it, I try to do this using Edit Numer...

11 mois ago | 1 answer | 0

Question

Function to read a file

Hello! I have m file for reading ape format files and working with it. Can i make a function like this % ReadingApe m-file nam...

environ un an ago | 1 answer | 0

Question

start a while loop on working with a file in gui

Help me please! I need to make a loop that will read information from the file function pushbutton1_Callback(hObject, eventdata...

environ un an ago | 0 answers | 0

Question

Create graphics with different sizes?

Hello! I have a problem, I need to create a graph on the X scale, the size is 1x116 along the Y axis, size is 1x1289. How can I ...

environ un an ago | 0 answers | 0

Question

where to save the function file to work?

Hello! I downloaded the function file that I need, but it doesn’t work for me Undefined function or variable 'xyz2grid'. I dow...

environ un an ago | 1 answer | 0

Question

calculation of coordinates of the sum of values greater than 5

there is a vector of large length, here is a small part of it F1 = [2.5 2.5 3.5 1 1 5.2 11.4 4 4 5.2 2 2 6] I need to get the co...

environ un an ago | 1 answer | 0

Question

Search for an element in an array in reverse order

for i=1:length(X) x=find(Matrix(X(i):1,i)<100,1,'first')'; % X100(i)=x; end Unable to perform assignment because the lef...

environ un an ago | 1 answer | 0

Question

increase value in vector

X=[102 103 116 145 108] % iwant=[102 205 321 466 574] % what i need to get % 102+103=205 ; 205+116=321 ; for i=1:length(n)-1...

environ un an ago | 1 answer | 0

Question

average vector over selected areas

I have two vectors, one working, the second sections that I need to average in vector 1 A = randi([5 10],1,548); B= [102 105...

environ un an ago | 1 answer | 0

Question

Vector averaging with mean command

Hello! I don’t quite understand how to use this command, I need to average a 1x533 vector Averaging1=mean(X,10); Averaging2=me...

environ un an ago | 2 answers | 0

Question

how to take a certain number of characters:

Hello! I have the number 9928900200, I need to do 992890,0200, how can I get this?

environ un an ago | 1 answer | 0

Question

how to write values to a vector and matrix by coordinates?

Hello! With the 'find' command, I found the coordinates of all elements greater than 1, now I need to write them to the matrix a...

environ un an ago | 1 answer | 0

Question

draw a label in the scatter graph

Hello! I have a scatter graph scatter( x, y, [] , z, 's', 'filled') % I have x and y coordinates where should the label be, h...

environ un an ago | 1 answer | 0

Question

the loop does not display results

Hello! There is a matrix and I need to find the first value less than 90 clear all close all X=[ 80 90 100 110 100 95 90 20 ...

environ un an ago | 1 answer | 0

Question

loop to work with the column

Hello! There is a loop, I need to know automatically how many values after the point X=[1 2 3 4 5 6 90 70 60 50 6 5 4 3 2 ...

environ un an ago | 1 answer | 0

Question

Using imagesc and scatter together

Hello! I need to impoverish these two teams and there must be 2 colorbar, how do I do this ??? x=[1:150] y=[1:150] z=rand(1,1...

environ un an ago | 1 answer | 0

Question

Problems exporting from matlab to exel

AV = {'1 nord', '2 ott','3 teta(double)' , '4 gama ','5 val(single)', '6 teta2( uint16 ) '}; AVt=rand(10000, 6) AVtNord=[AV;A...

plus d'un an ago | 1 answer | 0