252 Topics
Score calculation 1.1 Write a function in Matlab that accepts the degree of writing as input arguments bg and the degree of work be and return the final degree bt, which is calculated as o average grades of work and writing with the following exceptions: i. If the grade of …
Hello, I have been intruiged by the video stabilization done by YouTube and wanted to implement it on matlab. I tracked down two papers related to it, this being them, 1.) http://static.googleusercontent.com/media/research.google.com/en//pubs/archive/37041.pdf 2.) http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6738007&url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel7%2F6726158%2F6737993%2F06738007.pdf%3Farnumber%3D6738007 (L1 L2 optimization for video stabilization) I've made some progress, but sadly all I can get …
Hello guys. I am currently developing an OCR tool using Chain-code algorithm in Java. I was googling and found this code in Matlab. I have no idea on using Matlab. So, I need help from someone who's good in Matlab to convert it into Java. This will be a big …
Hi, I have some pictures of two white dices with black dots, and I need to recognize the value on each visible face of dices. For example, from image that includes dice with 6 dots and another dice with 5 dots, need to get [5 6]. Any ideas? It's really …
hi everyone.I have question. can i connect vb.net 2010 to matlab.
Code is : file = 'foreman.cif'; clc; file = 'foreman.cif'; nFrame = 10; [fid,message]= fopen(file,'rb'); nRow = 288; nColumn = 352; img_y = uint8(fread(fid, nRow * nColumn, 'uchar')); for k = 1:nFrame ImY = reshape(img_y(:,:,k), nRow, nColumn); ImY = ImY'; imshow(ImY); pause(0.5) end fclose(fid); disp('OK'); The error is : Error …
Hello! I'm trying to transform working Python code to Matlab code. It's Simpson's rule. But MatLab code is not working. What should I change for in this code? Python: from math import sin def f(x): return ((0.6369)*sin(sin(x))*sin(x)) def method_simpson_compost(f,a,b,n): h = (float(b)-a)/n i = 0 fks = 0.0 while i<=n: …
I applied neural network toolbox to create a multilayer feedforward network. The data is a huge csv file which maps to three outputs. data = load('Train.csv'); Input= data(1:31012,1:40); Output=data(1:31012,41); %net = newff(minmax(Input),[1000,1000,1000]); net = feedforwardnet(10,'trainlm'); view(net) y = net(Input); perf = perform(net,y,Output) but this code always gives this - "Empty …
Hey guys I'm really stuck on this matlab problem. I'm brand new to coding so I really don't know what I'm doing. Here's the problem. It's on two pages so I had to take two screenshots. http://puu.sh/8Ch8v http://puu.sh/8Chak I understand the concept of the problem, and the equations are given …
[CODE]Hi every one, hope u r fine. i have a java program and it call matlab exe file ,but i have a problem in run time it is so so slow . i need a help in how to make this faster, i will be grateful for any help Hint: …
I have an application thats has been coded in C#. After build it generates a standalone dll file and the exe file. I want to use this code in Matlab. I found out from [this](http://www.mathworks.co.uk/help/matlab/matlab_external/using-a-net-object.html#bshoa6b-1) page that I can load the C# classes or codes into Matlab. dll_in_matlab = NET.addAssembly('location …
Can any one help me , i need an algorithm of the fast fourier transform without using fft function .
Hello Everyone, I need RMS algorithm for video in Matlab. Has anyone it?
Hi! I'm trying to operate a pc using EEG signals, as my academic project. I mean, using our thoughts instead of input devices to handle the operations of a computer. I hav EEG signals which I can process in Matlab. But, after that I hav no idea of how to …
I am trying to plot a graph in matlab using c++. But the matlab is only giving me an empty graph. void portfolio::viewGraph() { double value[20]; //store portfolio value double time[20]; //store time int i=0,j=1; double cash,p; ifstream in_file("transactionhistory.txt", ios::in); string c; while(in_file>>cash>>p>>c>>c>>c>>c>>c) { value[i]=(p+cash); cout<<p<<endl; time[i]=j; cout<<time[i]<<endl; i++; j++; …
Basically, I would like to create a neural network using matlab. I think I need the fitting tool , I have a set of data with the weighting of the complete data and I would like to use that data to predict new sets of data not contained in my …
i am trying to declare two symbols and then write a function with these two variable >> syms x y >> f(x,y)=3*x*y; ??? Error using ==> mupadmex Error in MuPAD command: DOUBLE cannot convert the input expression into a double array. but matlab is not allowing me to so.why this …
I am searching a matlab code of canonical swarm optimization algorithm for knapsack problem.If anyone knows the code, then please tell me.
Hi.I have an image(A) and encrypted image(B) .I want to find correlation coefficient for(Horizontal,Vertical,Diagonal) A(~1)and for B(~0)is there any function in matlab for this ?I know corr2 is for calculating the correlation coefficient for two images.but for one image?
i want help to write an algorithm for a wireless sensor network for use in matlab
please friends i want to know how to use a matlab software.
Write MATLAB codes to recover the arrays x and y from the text file here is the text file contents: The following tabulates the pairs (x,y) where y=x^2-x+2 1 2 2 4 3 8 4 14 5 22 6 32 7 44 8 58 9 74 10 92 and here …
i have to write a function to evaluate the sine of any real number exactly 8 decimal number, using the given formula: [sin(x) = x - x^3/3! + x^5/5! - x^7/7! + ....] Anyone please help me i can not workout this question, atleast the body of the program or …
Hello all!! I am new to MATLAB and am trying to do multidimensional scaling for some data I have. It is just a 24x24 correlation matrix and I keep getting an error message that it is not a square matrix, but it is!! I don't understand :/ I've been following …
I have a variable x which varies from -160 to 160 through steps of 10. `x = -160:10:160;` I have a matrix T1 which is of the form ` cos(x) 0 +sin(x) 0.00; sin(x) 0 -cos(x) 0.00; 0.0000 1 0.00000 0.67; 0.0000 0 0.00000 1.00 ` How can that be …
no idea to put this topic but, if someone could just do this graph? just so i can get a rough idea of how to work Matlab? X1 [n] = 4.5δ[n+7] -10 ≤n≤ 0
i am making program to read text by convert image of text into text but i have problem in the out because the text not in line but in column and i can't detect space between words . the code in matlab: load 'Charachters.mat'; str ={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','1','2','3','4','5','6','7','8','9','0',' '}; f = imread('1.PNG'); …
hi i need help in design scheduling in wimax network using matlab. is there anyone can help me?
Hi All i have generated matlab code into stand alone (DLL) using matlab builde NE,i writen interfacing code to Proficy Trouble shooter and cause+ tool in visual studio,i have used thes MATLAB DLL as add reference inthe program and i am able to build .NET Assembly (DLL),If i integrat this …
Hi , just started programming in MATLAB and I have a question. Image files can be written as RGB/GRAYSCALE/INDEXED and more types, from what I saw in MATLAB you can read an image by using `imread()` function the only difference is what it returns. [img,MAP] or img how do I …
not sure its the right place to write this here or not,but i'll try my luck. been given an example of plotting a graph,writing this into the command prompt : L = 31; nn = 0:(L-1); imp = zeros(L,1); imp(1) = 1; stem(nn,imp) this gives a graphic display. then i …
Hi, I'm just beginning to take baby steps in fis and have been working through the matlab fuzzy toolbox tutorial. I have a question about creating input variables that have no upper bound. For example, if I want to classify a rock as small [0, 15]cm, medium [5, 25]cm, big …
Hi Everyone Re; Help with MATLAB...basic stuff Let me start with..."What the heck have I let myself in for???? " I'm 43 years old Haven't studied anything related to math in 10+ years. Enrolled in University via distance education in Australia. I live in a small town in Queensland's outback. …
I need to implement an algorithm for automatic modulation recognition using matlab. I am planning to do this by using pattern recognition, I have read about the decision tree approach, it says to "ideniify the constant envelope signals (CW, FM, FSK). PSK sigals are not considered as constant envelope signals, …
Hi, I am trying to call some MATLAB functions from my Visual Basic App. I have referred to the mathworks documentation, but havent been able to find much information. Also, I need an ocx/activex component to be able to display the results of some matlab plots that I'll access through …
Hi, I need to use MATLAB for some statistical analysis in my VB application.Is it possible to call MATLAB functions in VB6. And if possible...then how is it to be done? Thanks!
how can i use the matlab(matlab function) into java
Hi there, I am using MATLAB and am trying to mex a c++ file. I get a load of compiler errors and I am not sure why: correspondPixels.cc(57) : error C2065: 'Matrix' : undeclared identifier The line of code this relates to is: `Matrix m1, m2;` Now the class should …
I am writing a m-file that simply takes in a picture of a board with 27 LEDS on it and simply tells you which LED is lit up. My problem is with the calibration of the m-file. I am trying to use [x,y] = ginput(27) to have the user click …
Hello, I am having difficulty writing a function file that produces an echo to a .wav recording I made. How do you create one? Thanks!
Hi can anyone help me I am using the following code to import data from spread sheet file and plot data- everything working perfect,it plotting one set of data here [B]v=xlsread('table.zn','B2:B20') plot(fliplr(v))[/B] the only thing- I need to plot 2 various set of data on same graph e.g I want …
I attached JPG file.I want to make this but tried many times.I am new in matlab help me as soon as possible. [CODE]x1=input('\n Please enter the first x-coordinate of the triangle : '); y1=input('\n Please enter the first y-coordinate of the triangle : '); x2=input('\n Please enter the second x-coordinate …
I'm writting a code to convert integer to unary using the matlab i read integers from file and write the unary in other file the problem the file i write in is always empty (nothing is Written ) this is my attempt the test.txt contain 1 2 3 4 [code] …
Hello, My question is if I have program programmed by matlab and I want program an interesting interface using another program language such as visual basic ,can I do that? Please give me suggestions about programming wonderful interface using matlap or any other language can integrated with matlap because the …
I want convert c code into matlab how it is to be done? can I do this to get my best result.plz tell me in details.
I am trying to color some alphabets in a string based on input alphabet given. suppose string: [B]AUSTRALIA[/B] INPUT: [B]A[/B] OUTPUT: [B][COLOR="Red"]A[/COLOR]USTR[COLOR="red"]A[/COLOR]LI[COLOR="red"]A[/COLOR][/B] Can anyone suggest me how to achieve it ? As m new to this.
Dear all, Perhaps a bit of random one, but does anyone have an experience of using the surface fitting toolbox in MATLAB? My specific problem is that I have fitted a polynomial to a surface which is a good fit in this instance (r squared >0.99); fitting using interpolant will …
i dont know, is it the right place to post this thread..pardon me if it is not Actually an working on the research project on the matlab and done with all the coding with logics and its working fine, now at the final stage i need to generate the output …
[B]Product[/B]: [B][COLOR="Red"]Matlab, Simulink[/COLOR][/B] [B]Problem Statement[/B]: Complex feedback loops implying usage of Unit Delay Block. At certain simulation frame calculation of required values for test generation is becoming complex. Is there a way to override the Unit Delay block output without changing the model (as I am not allowed to do …
The End.