Click here to Skip to main content
15,891,629 members
Everything / MatLab

MatLab

MatLab

Great Reads

by n.podbielski
Using Matlab from a C# application
by dcmuggins
Breif tutorial on how to convert an RGB image to grayscale within MatLab
by JinWenQiang
This tip is a brief introduction of Network Calculus. I used Matlab codes to show you the results and to explain how it works.
by Roozbeh Abolpour
The data-driven MPC is implemented in this project that can be easily exploited

Latest Articles

by Member 4206974
The article is about Matlab - Octave scripts for easy create forms with the most useful controls (texts field, lists, radio buttons, check boxes, sliders, ...)
by Roozbeh Abolpour
The data-driven MPC is implemented in this project that can be easily exploited
by Huseyin Atasoy
An image classifier / tagger based on convolutional neural networks. Now more than 10 times faster with the Intel MKL support.
by Mahsa Hassankashi
Best practice for learning Basic of Machine Learning and Gradient Descent based on Linear Regression. This article will explain step by step computational matters.

All Articles

Sort by Updated

MatLab 

14 Mar 2010 by #realJSOP
Google "using google earth with matlab", and the very first hit in the returned results gives you this.http://www.mathworks.com/matlabcentral/fileexchange/12954[^]For cryin' out loud, many times, googling is FASTER that waiting for an answer here - especially when the topic isn't about a...
25 Apr 2010 by #realJSOP
And while you're waiting for someone to do your work for you, I would like to offer you a FROM JSOP: And while he's waiting, he'd like a double sweet latte with extra whipped cream and a light dusting of nutmeg. We are also offering free scones and a clue with every luxury coffee beverage.
1 May 2010 by #realJSOP
Your question is barely readable, but from what I gather, you want to do facial recognition with matlab. I googled it, and came up with OVER 100,000 hits. http://www.mathworks.com/matlabcentral/fileexchange/4408[^]You can google too. It's easy. it's fun. There isn't even a line to get in.
20 Jun 2010 by #realJSOP
That's not the proper way to respond to someone that actually looked at your question with the intent of helping you. At this point, you've pretty much discouraged anyone from wanting to help at all. For the record, you question indicates no effort on your part to solve the problem on your...
1 Jul 2010 by #realJSOP
You do know that there are a lot of MatLab forums available where you'd probably get a faster response, right?Besides that, this site doesn't offer free coding services. We may be able to help you if you get stuck on a specific part of your code, but the likelihood that someone's going to...
20 Aug 2010 by #realJSOP
I want 1000 rounds of .223 ammo for $5, but that's equally unlikey to happen as someone giving you "the codez".
22 Oct 2010 by #realJSOP
Weren't you paying attention in class when the instructor told you how to do it?
27 Nov 2010 by #realJSOP
Did you try asking in matlab's own forums? You'll probably get a better answer faster there than you will here. Beyond that, you're using technology that's EXTREMELY obsolete (both Windows NT *and* MatLab 6.5.1). Google is your friend.
4 Jan 2011 by #realJSOP
Google "c# and matlab", and you'll get 1.4 million results...
13 Apr 2011 by #realJSOP
So do it. You're learning Matlab, not us.
31 May 2011 by #realJSOP
Did you even once consider using google?Over 53,000 results for "DAUBECHIES WAVELET TRANSFORM matlab"[^]
31 May 2011 by #realJSOP
I'm john, and I don't want you using my algorithm in your code. Find another way.Seriously - if you don't start planning better, the only way you're gonna end up as part of a large corporation is if you work in their mail room, or on their cleaning staff.
27 Jun 2011 by #realJSOP
You would probably have to identify some basic shapes - a human, a four-legged anmal, and a car/truck/motorcycle/bicycle/airplane/missile/godzilla, and then come up with some sort of matching algorythm that can determine what shape best matches the moving object.
27 Jun 2011 by #realJSOP
Assuming the DLL you want to interface with does not, itself, have a dependency on another MATLAB dll, you should be able to add it to your project, and write a interop wrapper class for it (again, assuming you know the exposed API).Keep in mind that if you're writing a retail application,...
17 Jul 2011 by #realJSOP
I can save you some time. Eyelids - everyone has them.
22 Dec 2011 by #realJSOP
54,900 google results for the search phrase "matlab single layer perceptron training algorithm"[^]Have at it...
13 Apr 2011 by 01.mandar
Package:- OpenCV 2.1- windows 7(64) - Visual Studio 2008- PlayStation Eye CameraI have used MORPHING_METHOD_ERODE_DILATE to track finger area which does not track accuratelyI have to scan a text in ROI rectangle which will be marked above...
19 Mar 2013 by 123ezone
Hi, I'm doing research project regarding OCR and I need to segment characters using horizontal and vertical histogram profile(projection profile).This is the code I have tried but I coudn't able to segment the lines of a document by crop the image at positions where histogram bin value get...
25 Mar 2013 by 123ezone
I want to get the skeleton image of a character and I have tried that from OpenCV.But it runs a never ending loop.Please help me with this.Here is my code.Thanks.bool done;IplConvKernel* element = cvCreateStructuringElementEx( 3, 3,0, 0, CV_SHAPE_CROSS, NULL );do{ ...
3 Apr 2013 by 123ezone
I have used Nash's implementation of Zhang-Suen algorithm to get the thinning output of character image.but it doesn't work correctly.can anyone tell which method should I use to get correct output.Thanks.
23 May 2013 by 123ezone
I have segmented normal characters using horizontal and vertical projection successfully. Now I'm trying to segment cursive characters. I have no idea of segmenting cursive characters since they are slanted. Please help me with this problem. Thank You.
25 May 2013 by 123ezone
I want to create an image array using IplImage.Here is my code for that.But it provides some memory leaks.Please help me with this to solve this problem.IplImage *result[200]; for(int i=0;i
3 Jun 2013 by 22majid22
Hi all,How can draw a line by giving two input points from user: point1(x1,y1) and ponint2(x2,y2)?Thanks
23 Jun 2013 by 22majid22
hi how can help me for this pic?www.comp92.blogfa.comthanks
11 Aug 2015 by 22majid22
hi allhow can help me to combine firefly with watermarking ?thanks yours majidplease hurry up please
11 Aug 2015 by 22majid22
function [best]=firefly_simple(instr)% n=????? ??? ??? ?? ???% MaxGeneration=?????????????????? ???? if nargin
24 Jan 2012 by 3ssal
i want to link between c# and matlab, the matlab project i have is producing an image ,that i want to use in c# after the project of the matlab finishes.please help me.
28 Nov 2012 by __TR__
I agree with Richard. You are expected to do the work yourself. Since you are eagerly waiting for an answer here are some CP articles you can take a look at.arithmetic and huffman coding[^]You can also look at Wikipedia for information on these...
22 Apr 2012 by aasharma
go to directory where is image file say abc.jpg.>>I=imread('abc.jpg');>>save I>>imshow(I);Done.
27 Feb 2014 by Abdulqaioom
how can i use mobile camera as web camera in mat-labi need to use it to take photos during the specific time to use the image that taken from mobile to make some process on this image and give some out put ( image for collage card or carnnah ) ?
26 Aug 2012 by abeer86
By using MATLAB or OCTIV i need to know about the module Hurst parameter, and to write about the module and its features and give example.
26 Aug 2012 by abeer86
MATLAB program to simulate TCP flow session using the fluid flow model
5 Feb 2014 by abeer86
what is the suitable version of xilinx i can use with matlab R2012b for an encryption process?
3 Jan 2012 by abhilash5
how to implement k-means algorithm in matlab
26 Jun 2013 by abhinandan4
Can you tell me code to train network. I have images from sign language and i want that network should recognize those characters. So,can you please help me how to train network with those character images by SVM, neural networks? abhinandanjp@gmail.com Thanks.
11 Oct 2010 by Abhinav S
Wiki has some information.
16 Aug 2014 by Abhinav S
Not sure, some links that might be useful to you - MANDELBROT SETS WITH MATLAB[^]FRACTALS WITH MATLAB [^]Fractals and Chaos [^]Searching on the internet will give you more articles (and links).
5 Jan 2016 by Abhinav S
Answers here[^] might help you.This[^] might help as well.
15 Jan 2013 by Abhishek Pant
Hi, This may help you-Interactive MATLAB Tutorial[^]Youtube search[^]Good Luck!-AP
13 May 2012 by abhishekmathur786
hii,I have used mfcc for feature extraction of speech samples and then normalized them using min_max algorithm.Now I want to take 70% of them for training and 30% for sampling or testing. I am unable to do that using the code which I have.I am writing the code below .I ma thankful to the...
20 Jan 2012 by AbiAarthy
how to use this function "log2(trellis.numInputSymbols)" in the program. we are getting error as:Length of the input code vector must be a multiple of the number of bits in an input symbol. please help us.
9 Dec 2015 by abu-fahmy
Hello Im a student from UESTC of chinaI have this code RRI=[]; for i=1:length(ROC)-1 RRinterval(i)=ROC(i+1)-ROC(i); endAnd I have already got RRI sequency but I need to Transform RRI(i) in time domain into frequency domain and then use it 1) To Get S.D of RRI(i) using...
9 Jan 2011 by Abul Kashim
Sir, i am not clear about Bayesian Neural Network. Is it a training algorith or itself a Neural Network like MLP or Radial Basis Function Network?If its a Network then how its architecture will be.Thank you in advance for your help.Sangeeta
14 Aug 2010 by adam1123
Do you have any method of reading a resistor value (resistor colour codes) using image processing techniques?
1 Mar 2012 by adarsha nayak
helloI am searching for a matlab code to extract the characters from visiting card and save the characters in text file.So that the information of visiting card can be shared and maintained easily. can I get the code to extract features from visiting card?.
21 Feb 2014 by Adnan1986
HiI want extract some features of GSR signal but for some feature i couldn't write Matlab cod if someone helpme , i'll be so grateful .i need Matlab code for this features :GSR_freq : The total number of orienting responses of a segment for GSRGSR_mag : The summary of the startle...
8 Oct 2012 by Afolabi Bishopton
please how do i convert image(colored) to black and white on mat-lab GUI. God bless you.
24 Jul 2015 by Afzaal Ahmad Zeeshan
What you are looking for can be a possible candidate for Intel's RealSense[^] technology. This can read the gestures that you provide, and function as you guide it to. I am not sure whether you would find such a great article right now, but wait a for a while to get the article. Or instead,...
25 Jun 2015 by AhadMozafari
Hi dear,I want create tcp client block for simulink(xpc-target) with c code but my client code don't work correct.I used wireshark(network protocol analyzer) and saw send&receive tcp packet but connect fail.These code run without OS.server code is correct:sockaddr_in from; int...
30 May 2022 by Ahmad M 2022
Write a MATLAB program to design Type -1 Chebyshev filter with given specification and plot its response (5 Points) a. Pass band Ripple = 0.25 dB b. Stop band attenuation = 10 dB c. Pass band edge frequency = 400Hz d. Stop band edge frequency =...
1 Jul 2015 by ahme_iraq
hello , i'm writing this codeImage2 = imread('D:\temp\2','jpeg'); % Image 2 from template folderpath='D:\test2\';list=dir([path, '*.bmp']);srcFiles = dir('D:\test1\*.bmp'); % the folder in which my images foundfor i = 1 : length(srcFiles) filename =...
2 Mar 2013 by Ahmed k dema
Dear Friends,Can anyone help me, if there is an article or sample code for student absence with forecasting (using KNN methond,Matlab and access database) !? your advice will be really appreciated.Kind regards,Dema.
15 Dec 2010 by ahmedkhaled1990
Simulate the following block diagram of a communication system using matlab.[binary information source]-->[channel encoder]-->[modulator]-->[channel]Assumptions and Tasks:- The communication channel is flat fading channel.- 16 QAM with is used in the transmitter.- The additive...
30 Jul 2015 by Ahsan Abbas
Hello Guys,I have a problem to convert the NetCDF file into GeoTIFF file in Matlab, i don't know how to do it, many software's are available for conversion but the problem is i have huge data-set almost 300 images in NC file format and i don't have much time to do it manually, can some one...
9 Feb 2016 by Ahsan Abbas
I have 3 images and want to detect and extract SURF features that are common in all images, i know SURF detect features from 2 images at a time, I have made a pairs of 2 images like (2nd,1st)images and (2nd,3rd)images, but the surf gives me different index location for each image pairs how can i...
2 Aug 2011 by aida1986
Bonjour,J'...
26 Feb 2012 by aj1363
I have made an Expert System Code in Matlab & i want to design it's User Interface in VB,But i don't know How can i use matlab codes written into VB ?Thanks alot
21 Nov 2011 by Ajain A K
Hi,I have a project written in Matlab contains multiple matlab functions (written in structured oriented way). I want to convert those files to C, is there any tool or online websites avilable to achive this. I tried with google search but I couldn't find any right one. Somebody please help...
29 Mar 2010 by Ajay Dashora
Dear All,using MATLAB 2009b, I created the DLL (first_lib.dll, first_lib.h and first_lib.lib) from MATLAB function (first.m) using mcc and I would like to call it in a C code using Microsoft Visual C++ 2008 (Express Edition) which I downloaded from internet as free s/w.I am posting the...
14 Jul 2014 by Akhil Mittal
These kind of questions or requests should not be entertained at all.
19 Sep 2012 by Akhileshddu@gmail.com
Hello All,How the baseband noise spectrum measurement were converted to a phase noise equivalent by calculating the ratio of the measured noise power.Gupta...
21 Feb 2012 by Akshayy Tikekarr
Hello does anyoone know MatlabI wanted to know how to remove color of image using matlab..
28 Mar 2015 by Alaa Odeh
hello i wrote a matlab code for soliton pulses in optical fiber and i got the plot i want but i need to make it animate ( the plot is in 3D). i've tried a lot and unfortunately there was no result
3 Feb 2015 by alameri227
I need some help in MatLab to detect similar images but i stock with finding the vectors of key points?
9 Feb 2020 by Alber Longa
hi. i am looking for matlab code for curvelet transform or some one tell me how to proceed for its implementation in matlab????
11 Apr 2011 by Albert Holguin
once again... you have to try so that people will want to help you. no one's going to do your homework...
16 Apr 2011 by Albert Holguin
don't forget that correlation depends on the current state of the input data and a number of frames of old data (depending on correlation size), with recorded data, you have the present, past, and future data all available. in real-time you only have present data, make sure you have enough old...
19 Apr 2011 by Albert Holguin
are any headers generated? if so, the headers should have the definitions you need, just need to include the headers (usually one main header that includes anything else required) and tell your linker to use the lib.Found these resources for...
19 Apr 2011 by Albert Holguin
think you want to use randi instead of random:http://www.mathworks.com/help/techdoc/ref/randi.html[^]
24 Apr 2011 by Albert Holguin
This equation sums up your problem:No Effort = No Solution.
30 Apr 2011 by Albert Holguin
Decompilers don't typically do a very good job of producing easily readable code. Unfortunately, you may be stuck with what you have (unless someone knows something I don't).
2 May 2011 by Albert Holguin
There's already a way to encode/decode built into the Communications toolbox:http://www.mathworks.com/help/toolbox/comm/ref/compand.html[^]G.711 is just compressed PCM (A-law or u-law) at 8ksps with 8 bit samples.
16 May 2011 by Albert Holguin
what's your signal format? if its already digitized, it's just treated as binary data.
16 May 2011 by Albert Holguin
Voice recognition is usually a complex subject, usually involves some sort of envelope detection of the audio data in simple systems but in more advanced systems however, the level of DSP can be quite significant.
26 Jun 2012 by Albert Holguin
Just about any programming language (and even scripting tool like Matlab) will have the ability to support interprocess communications. You have to decide what it is you're trying to simulate exactly, what tools/languages are you already familiar with, how deep do you want to go into the...
30 Jul 2012 by Albert Holguin
You need to be more clear in what your actual error is (be specific, show error codes or describe what's occurring). You can't expect a bunch of strangers helping for free to go through all your code and find anything and everything that's wrong. Improve your question and maybe you'll get...
14 Aug 2012 by Albert Holguin
If I understand you correctly, you're trying to find one string within another in Matlab... if so, use strfind()[^]. Be aware that the function is case sensitive, if you want to make it case insensitive, just make both strings either all lower[^] or all upper[^] before making the function call.
15 Oct 2013 by Albert Holguin
Whenever I need to convert some algorithms from Matlab to C/C++, I always go through the operations and implement them independently of the rest of the algorithm. This makes the problem a lot easier to handle by breaking it down.If you look at what inv() does, it's really quite simple, but...
27 Nov 2013 by Albert Holguin
CPallini gave you some good options with simply googling... but I'll give you some advice, it's better to transfer the code by hand make sure it works. There are compilers available in Matlab for code but they are expensive and usually there's no guarantee that they'll do a good job. You can...
9 Dec 2013 by Albert Holguin
The error is telling you that this part of the statement is wrong:segm(p).regs(:,:,rix)*rixThe error is saying that the element-wise multiplication doesn't have valid data types. Make sure segm(p).regs(:,:,rix) AND rix are valid types (integers or doubles).
16 Dec 2013 by Albert Holguin
Your question is too general... there's a huge number of signals that would fit into that spectral mask. Post more specific questions once you get started.So far what you know (from the picture): 0. Signal must be centered at 21MHz (common IF frequency) 1. 3dB bandwidth must be...
23 Dec 2013 by Albert Holguin
Making something faster is usually application specific, or specific to what you are doing. We can't tell you how to make something faster without seeing what it is you are doing. I assume you are doing a bunch of image processing with Matlab, did you make the algorithms yourself or are...
30 Dec 2013 by Albert Holguin
1 n=1:100;2 k=0.5;3 x[n]=sin((3*pi*n)/20);4 y(n)=x(n./k);5 scale (x,k);I put line numbers for reference...Line one is fine, creates a vector from 1 to 100.Line two defines a scalar value k.Line three, this is invalid, you can't use a vector as an index. You can either...
27 Jan 2014 by Albert Holguin
The fft()[^] routine functions on vectors and/or arrays (preferably on vectors of data type double, since we're talking about time a vector makes more sense). If your data is not in that format, then you have to get it in that format.
6 Feb 2014 by Albert Holguin
Xilinx is a chip maker, if you mean Xilinx ISE, then the version shouldn't really matter as long as they support the same encryption process. I'm not sure what you're trying to accomplish though since your question is vague.
10 Feb 2014 by Albert Holguin
Just put it in a vector with seconds (transform whatever that is to seconds, make the first sample be zero and increase from there, in another words, normalize your values) and break up the data into blocks and you can do an fft() on it. The block will have a spectral resolution equal to fs/N,...
22 Apr 2014 by Albert Holguin
Matlab is essentially a math engine with scripting capabilities. As its main goal is to help people design, test, and verify algorithms, there are many toolboxes available for it that have various common algorithms already implemented (toolboxes are essentially your code...
9 Mar 2011 by Albin Abel
This might helps youhttp://channel9.msdn.com/coding4fun/articles/Generating-Sound-Waves-with-C-Wave-Oscillators[^]Just fundamental notes. The audio is a wave and a single frequency occurs in sine wave form. The length between the crest/ trough (wave length) is related to its frequency....
5 Mar 2013 by aldiano
hi, i'm doing my undergraduate thesis about web based matching speech detection using FFT & euclidean distance.right now i'm using matlab to do the audio processing, but how to make the web based version??i'm thinking about integrating matlab with web.is it posible to integrate...
3 Sep 2012 by Ali Akbar Nazari
Hey guysmy filed of education is power system electrical.I'm beginner in Matlab. I need to work with M-files and make relation between these and Simulink.Now my weakness in M-file is more bold I'll thank you in advance if you have any helpful solution....I don't know, any...
12 Dec 2022 by All Yasser
Transfer a new matrix of elements in the given matrix as 3 elements. What I have tried: Transfer a new matrix of elements in the given matrix as 3 elements.
25 Jul 2010 by allen88
Hi, I am doing a project of image processing enhancement. I am new to Matlab. I came to know that we have some limitation of using some coding in the image processing toolbox. We can use imread and imshow, other then the default. There are 3 technique to improve the image:1. Piece-wise...
23 Apr 2011 by amany nahar
how can i extract feature from sound signal in frequency domain and time domain
9 May 2011 by amany nahar
how can i integrate the signal to find the area under the curve of this signal in malab
27 Jun 2022 by Amarnath S
Add this line i1 = im2double(i); as the third line. Then modify your if loop to handle i1. The image is an 8-bit image, having values from 0 to 255, and there are no values in the range 0.2 to 0.7. You need to convert it to a double image,...
26 Mar 2012 by amertarekt
I have a database it's information is:Name: MatlabdbServer_Name: RD\SQLEXPRESSusername: SApassword: GlobalamirtarekI need to connect to it using MATLAB .M file I tried the Matlab function database(...)i failed to use it i tried to install JDBC but it is not work with me...
30 Mar 2010 by amigozia
Hi,I am kind of new user to Matlab and c. I am currently working on ADM1 model in matlab/simulink. Can anybody tell me where and how can i use the dll's created by Matlab. I want to make a shared library and use it in WinErs another simulation tool. But in WinErs i can use the dll as plugin...
18 May 2016 by amir.nazarizadeh
I downloaded dftfilt that a function for image filtering in matlab! but it has some problem the following is code of that: function g = dftfilt(f, H) F = fft2(f, size(H, 1), size(H, 2)); g = real(ifft2(H.*F)); g = g(1:size(f,1),1:size(f,2));but in line 3 gives me an...
21 May 2016 by Ana92
I had a single line diagram and I want to convert it into simulink using Matlab. The problem is i did't find the bus bar in the simulink. Can anyone help me please?What I have tried:I did't have any solution yet.
13 Jan 2018 by ANAGHA S GOURI
I did a `MATLAB` code and it had to perform B2=abs(B2/max(B2)); where `B2` is an `n x m` matrix . What should be the equivalent `C++` code using Eigen library? Please help. On modifying my code //problem #include #include #include