252 Topics

Member Avatar for
Member Avatar for Diala_1

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 …

Member Avatar for rproffitt
0
29
Member Avatar for sinkill9099

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 …

Member Avatar for sinkill9099
0
306
Member Avatar for nithyananthanaiker

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 …

Member Avatar for Neha_18
0
1K
Member Avatar for Sapir

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 …

Member Avatar for rproffitt
0
853
Member Avatar for batoolhussain
Member Avatar for gusano79
0
87
Member Avatar for powerohit

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 …

0
51
Member Avatar for Auroch

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

Member Avatar for Taywin
0
338
Member Avatar for Remy the cook

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 …

0
146
Member Avatar for Enoch_1

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 …

Member Avatar for Taywin
0
111
Member Avatar for The king

[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: …

Member Avatar for stultuske
0
909
Member Avatar for farazk86

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 …

0
149
Member Avatar for Alibi Ghazi

Can any one help me , i need an algorithm of the fast fourier transform without using fft function .

Member Avatar for phorce
0
157
Member Avatar for bilal.saim
Member Avatar for phorce
0
194
Member Avatar for vani krishnan

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 …

Member Avatar for phorce
0
357
Member Avatar for H_beginner

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++; …

0
182
Member Avatar for coolzeeshy

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 …

0
68
Member Avatar for general2012

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 …

0
64
Member Avatar for general2012
Member Avatar for deeksha saxena

I am searching a matlab code of canonical swarm optimization algorithm for knapsack problem.If anyone knows the code, then please tell me.

0
81
Member Avatar for sszz

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?

Member Avatar for phorce
0
169
Member Avatar for kuva

i want help to write an algorithm for a wireless sensor network for use in matlab

Member Avatar for firdousahmad
-1
134
Member Avatar for micheal.akhigbe
Member Avatar for caperjack
0
59
Member Avatar for nitish.mohiputlall

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 …

Member Avatar for Reddyfox
0
149
Member Avatar for nitish.mohiputlall

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 …

Member Avatar for rubberman
0
78
Member Avatar for neuro

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 …

0
127
Member Avatar for delta_frost

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 …

0
138
Member Avatar for pjh-10

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

0
97
Member Avatar for easmaa.salih

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'); …

0
116
Member Avatar for yemama.yemama

hi i need help in design scheduling in wimax network using matlab. is there anyone can help me?

0
130
Member Avatar for PrasannaKB

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 …

0
49
Member Avatar for Despairy

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 …

Member Avatar for Taywin
0
154
Member Avatar for pjh-10

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 …

Member Avatar for Taywin
0
151
Member Avatar for logicalguy

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 …

0
60
Member Avatar for MisterMustard

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

Member Avatar for Taywin
0
155
Member Avatar for dewdropz

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, …

Member Avatar for Taywin
0
473
Member Avatar for me_coolvibes

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 …

0
59
Member Avatar for me_coolvibes

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!

Member Avatar for SudoWin
0
80
Member Avatar for sugir1987
Member Avatar for dinners

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 …

Member Avatar for dinners
0
215
Member Avatar for wnr78ta

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 …

0
117
Member Avatar for kgal

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!

0
94
Member Avatar for Kirtipari

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 …

Member Avatar for Kirtipari
0
128
Member Avatar for scobi

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 …

0
70
Member Avatar for osfar

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] …

Member Avatar for TrustyTony
0
172
Member Avatar for cs_1000100

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 …

Member Avatar for Jx_Man
0
182
Member Avatar for meera_137

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.

Member Avatar for meera_137
-1
103
Member Avatar for solvesak

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.

0
168
Member Avatar for The physicist

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 …

0
94
Member Avatar for SandyT9

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 …

Member Avatar for cereal
0
79
Member Avatar for shouvik.d

[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 …

0
137

The End.