Questions tagged as 'matlab'

0
answers

Stereo Vision in Matlab

Hello! I'm trying to run an algorithm in Matlab that uses only Matlab's own functions. The program should initially calibrate the cameras, extract their parameters and generate a disparity map through two images rectified with the parameters obt...
asked by 04.09.2015 / 23:11
0
answers

How to calculate r squared (r ^ 2) with test samples?

I split my data into one set for training and another set for testing. I wonder if I can calculate the value of r ^ 2 for the set of test samples. I created two models: one model with the SVR and another with LinearModel (matlab function). Now I...
asked by 20.06.2015 / 17:49
0
answers

Genetic Algorithms in Matlab

I need to optimize 30 functions in MatLab using Genetic Algorithms. The initial data is: Dimensão=10 Rodadas = 51 Número Máximo de avaliações(MaxFES)= Dimensão*10000 Espaço de Busca=[-100,100] Término=MaxFES ou o erro for menor que 10^(-8)...
asked by 02.07.2015 / 11:24
0
answers

3D Reconstruction MATLAB

I'm developing my TFG with MatLab where from a picture in Top 20X20 picture and a lower picture tbm 20x20 I generate the possible kernel in other N center images. However to present the result I need to use these images to generate my 3d figure....
asked by 24.05.2015 / 19:40
0
answers

Method of secant and bvp

You are asked to solve m * d ^ 2 and / dt = -g-gamma * dy / dt such that y (20) = 0 , with the conditions initials that I already put in the code. What's wrong? %3. [value,x0,numIter] = f_secante(@find0_p3,0, 1, 0.0001, 1000); %[x,v] m=0...
asked by 20.03.2015 / 00:32
1
answer

Center a plot on top of an image in Matlab

I'm plotting over an image, however with the code below the plot happens at the beginning of the image at 0,0. I wish it was done from the center of the image in question. Code snippet: image=imread('imagem.jpg'); imshow(image); hold on; plot(...
asked by 16.05.2014 / 04:17
2
answers

standard deviation of all elements of an array in MATLAB?

How to calculate the standard deviation of all the elements of an array? The std function divides by column. How do you calculate for all elements?     
asked by 03.11.2018 / 19:06
1
answer

Plot a Charge and Discharge of a Capacitor in MATLAB

I need to create a program that shows through the plot the loading and discharge of a capacitor according to the images below: Thereare3constantswheretheusermustentervalues:C=capacitance;R=resistanceE=sourcevoltage(example,a20vsource);Iwasa...
asked by 06.05.2016 / 16:02
1
answer

How to pass an array to a .txt file - MATLAB

I'm reading a teste.jpg image with the imread command and transforming it into a gray image with the rgb2gray command. I need the corresponding codes of the result of this array, in a .txt file. Follow the example:...
asked by 11.11.2015 / 04:32
2
answers

Results in table format in Matlab

When simulating a program in Matlab, is it possible to display the results in a table format? Output of the program: Nível de tensão (V): 200.6000 199.5000 231.1000 198.8000 200.6000 200.4000 Data e hora: 21-Aug-2014 18:06:00 23-Aug-2014...
asked by 29.10.2014 / 22:25