Questions tagged as 'matlab'

0
answers

I can not find the program error

function [ dy] = dydt( t,y,par ) %UNTITLED10 Summary of this function goes here % Detailed explanation goes here K1D=par(1); C4=par(2); KD=par(3); tetaD=par(4); %procurar valor real T=par(5); KDBO=par(6); Vs3=par(7); fD5=par(8); H=par(9); K2D=...
asked by 10.07.2017 / 01:48
0
answers

Error in storing variable values with size 8bits (uint8) in Matlab

I'm implementing a 128-bit AES encryption algorithm in Matlab, I'm implementing this code based on a functional code in C, the big problem is that in C code all variables are set to unsigned char making it easier to In MatLab I declared al...
asked by 15.06.2017 / 18:11
1
answer

Problems comparing data from two matrices with different sizes in MatLab

I have an array of data, with non-leap years, and in which array was separated: Data = [year month day data1 data2]; Size = 14965 rows and 5 columns And I have an array parameters, to compare with "data1" and "data2", with size 365 rows...
asked by 13.04.2017 / 20:51
1
answer

Calculation of the divergent rotational of a function in Matlab

I'm having a college assignment where I should create a routine to calculate the divergent rotational of any function in matlab. Searching, I found that I can use the divergence() function to calculate the divergent of the vectors impu...
asked by 27.05.2017 / 18:07
0
answers

Algorithm involving statistics

I am working on a CBT project that used neural networks in MATLAB as a universal approximation of functions, and obtained very good results: more than 70% of the samples present a relative error of less than 10% in relation to the real value, an...
asked by 23.01.2017 / 02:46
1
answer

How to use the "print" command to display string variables along with integers in MATLAB?

I'm doing an exercise in MATLAB, but I always come across an error about the syntax of the print function, it says that I can not put strings and integers together to be shown, but I've seen similar examples Follow the code meses = [...
asked by 14.08.2016 / 23:16
0
answers

Update variable value with slider in MATLAB

I have a struct file:     x.head = imread ('brain.jpg');         whos x I have a slider: G3.slide = uicontrol('style','slide',... 'unit','pix',... 'position',[400 280 120 30],... 'min'...
asked by 07.05.2016 / 17:22
1
answer

Generate struct in matlab dynamically, with fields of different sizes

I'm a demand that the thing is, I want to create a set of images and I will list them, for this I create a struct vector similar to resultsInfo = struct('indice',0,'correlatas',cell(1,5),'fatorCorrelacao',zeros(1,5),'somaImagens',zeros(640,480)...
asked by 18.11.2015 / 19:35
0
answers

How to normalize multiple images in matlab

I have a set of 1000 images generated randomly through Gaussian noise, as I would do to normalize them (even standard deviation and the same media for all images). THANK YOU !!     
asked by 25.08.2015 / 15:25
0
answers

Edge detection of a frame

I have a video, and I need every frame to do edge detection ( prewitt ) because I need only the outlines of my area of interest. After doing the edge detection of each frame , I need to measure the contour area for each frame and...
asked by 21.07.2015 / 09:03