Community Profile

photo

Emerson De Souza


University of Illinois Urbana-Champaign

74 total contributions since 2011

Contact

Emerson De Souza's Badges

  • Thankful Level 4

View details...

Contributions in
View by

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 6 jaar ago | 1 answer | 1

1

answer

Question


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

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 6 jaar ago | 3 answers | 0

3

answers

Question


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

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 7 jaar ago | 1 answer | 1

1

answer

Question


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

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 7 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 7 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 7 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 7 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 7 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 7 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 7 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 7 jaar ago | 1 answer | 0

1

answer

Load more