Feeds
질문
How to count the frequency of flashing light in a video
Hi, I have a video-file, rgb, format avi, dimension 62x62, rate 60fps. duration 1min. The event is a flashing red light otherwis...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to extract parts of an array by given logical conditions?
Hi, I have an array, let's say M= 1 1 0 1 2 0 1 3 1 2 1 0 2 2 1 2 3 1 and I would like to create a new a...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to save a stabilized video to hard disk?
Hi, I used the demo script (run file below) to learn about video stabilization. % Input video file which needs to be stabi...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
How to change the properties of legend?
*INTRO:* Hi, I use the command pulsewidth(data,time) to display the width of peaks as described in the example below: clear...
11년 초과 전 | 답변 수: 1 | 1
1
답변질문
How to convert and display numbers into strings
*INTRODUCTION:* Hi, I make a string concatenation using alpha and numerical characters ['K=' num2str(k)] Thus, using th...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to update the variable of a function using a dialogbox?
*INTRO:* I use the script below to track the shift of a pixel between two images: clear all; close all; prompt ...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to create a dialogbox with two or more input fields BESIDES EACH OTHER?
*INTRO:* Hi, I wrote the script below to make a video with images stored in a folder. clear all; close all; prompt ...
11년 초과 전 | 답변 수: 2 | 0
2
답변질문
Extraction of images from video: why images are missed?
*INTRODUCTION:* I have a avi-video recorded at 2 frames per second and I used the following commands to extract the images ...
11년 초과 전 | 답변 수: 3 | 0
3
답변질문
How to import a file using only part of the name, such as an index at the begin of filename?
*INTRO* Hi, I have multiple text files named as below: C:\Users\EMERSON\Desktop\1\1_2013-01-21__15-35-22.txt C:\Users\...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
How to create one .avi-video from a folder with i.png files?
Hi, I have a folder with 20000 .png files named 1.png, 2.png, and so on until 20000. I would like to make a .avi-video of it. Th...
거의 12년 전 | 답변 수: 1 | 2
1
답변질문
How do we declare multiple variables at once using letters and values of two columns of a table?
*INTRODUCTION:* Hi, I have an alpha-numeric text file. The first column contains the alpha and the second column the numeric co...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How to transform a XYZ-Array into a XxY-Matrix with Z as values of each Mxy-Component and vice versa?
Hi, I have a table XYZ with three columns (xyz) as below: 1 1 1 1 2 2 1 3 3 2 1 4 2 2 5 2 3 6 3 1 7 3 ...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
How to solve a subscript problem by creating a matrix from x,y-arrays?
Hi, I use the script below to create two x,y-arrays and to build a matrix with the transposed y-columns of the arrays. Each a...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How to extract values from an array and write at a specific cell of a matrix?
*INTRODUCTION:* Hi, I have multiple arrays i.txt made of two columns and n-rows in a folder. The examples below display the firs...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How to erase data from a matrix from the command line?
*INTRO:* Hi, I have a matrix Mij and would like to erase the rows i whenever the row-value of two columns are identical (for exa...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How do we plot a graph with non available values for y without breaking the continuity?
*INTRO:* I have an array M as below: M= 1 4 2 NaN 3 10 4 NaN 5 NaN 6 15 7 NaN 8 17 ...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
How to construct an array from two arrays of different sizes using conditional replacement of elements?
Hi, I have two arrays A and B as below A=load('A.txt'); B=load('B.txt'); where A= 1 2 3 4 5 6...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How do we sort one column of an alpha-numeric table and make the other columns to adjust accordingly?
*INTRO:* I import an alpha-numeric table A with the commands below: fid = fopen('TEST_SORT.txt'); A= textscan(fid,'%f %...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
How to display the Xticks from the command line?
*INTRO:* Hi I plot arbitrary data against date ticks for hours of the day as below: %Get traffic count data load count.d...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How to display XTicks from the command line?
*INTRO:* Hi I plot arbitrary data against date ticks for hours of the day as below: %Get traffic count data load count.d...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How can we increase/decrease the number of MinorTicks from the command line?
*INTRODUCTION:* Hi, I use the command lines below to generate an arbitrary curve (here sinus) and plot it as a function of the h...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
How do we change the size of a figure (graph) to be larger than the default?
Hi, the size of my screen is 1366x768 (width x height). How can I force the graph below (via command line) to use the entire sc...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
How to plot two independent curves as symbols in one graph?
*GOAL:* I have two independent arrays y1 and y2 and want to plot them depending on x1 and x2 in the same graph. The curves sh...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How to obtain the date and time (datenum) of a .txt saved in the harddrive?
I have multiple .txt files with mxn-arrays saved at different date and time. I wonder if it is possible to write a command li...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
How to calculate the median of a column depending on the value of another column?
*INTRODUCTION:* I have two columns of values. The values of the first column are partially constant and the values of the secon...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
How to select values of array using the logical operator "OR"?
*GOAL:* Hi, I have an array A and want to build a new array B by selecting two or more values using the logical operator OR. ...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
How to import an array separated by space from a text file?
I want to import/load/read, whatever works, a textfile.txt where the columns are separated by a space as below: 15 125 2,033....
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to extract the numbers of an image file into a table
Hi, I have a table saved as filename.bmp and need to extract the values to a text file.txt. The image background is completely ...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I make a variable defined in one script make change also in a second script?
*MOTIVATION:* I wrote the following lines to obtain the distance of a give moving point between two images: open cpcorr.m; ...
거의 13년 전 | 답변 수: 1 | 0
1
답변질문
How to save a graph using print and rational numbers within image name without changing the file format?
*MOTIVATION:* The lines below display one example of how I'm trying to name a graph and save the image to the hard disk: ...
거의 13년 전 | 답변 수: 1 | 0