Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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');

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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?

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Carica altro