252 Topics

Member Avatar for
Member Avatar for Anandgrg

In Matlab, is it possible to have an array where each element is a matrix?

0
44
Member Avatar for thriller

Dear fellows. i am student of MS Electrical engineering...and now i am thinking to star my Thesis.....for this i iahve selected the topic "Calculation of Very Fast Transients in Gas Insulated Substations and its modeling using MATLAB simulink." now please tell me that weather i can do this on MATLAB …

0
53
Member Avatar for arbid123

I am calling C function from MATLAB using mex-files. The C function has a few static variables. I want to remove the static variables from the memory between consecitive calls to the C function. It is possible to do that without manually making all the variables in the C function …

Member Avatar for b4codes
0
84
Member Avatar for mike issa

hi all, i have a matlab problem when i write this program (which is simple :) since im a beginner) clear all close all clc [x,y]=meshgrid(-2:.1:2); z=x.*exp(-((x-y.^2).^2+y.^2)); mesh(x,y,z),title('mesh'):) hidden off colormap hot % cool,bone,copper,pink,jet,gray colorbar figure contour(x,y,z),title('contour') figure surf(x,y,z),title('surf') figure meshc(x,y,z),title('meshc') figure meshz(x,y,z),title('meshz') figure surfc(x,y,z),title('surfc') figure waterfall(x,y,z),title('waterfall') it gives me …

0
55
Member Avatar for jubleebow

Hi anyone knows how to add colormap to my plots on the polar graph? thx title([COLOR=#a020f0]'Hodograph Displaying Change of Wind Speed and Direction with Height'[/COLOR],[COLOR=#a020f0]'Fontsize'[/COLOR],12) [COLOR=#228b22]% change working directory to data directory [/COLOR]cd [COLOR=#a020f0]C:\weatherdata\total [/COLOR]number_of_files=length(dir)-4; [COLOR=#0000ff]for[/COLOR][COLOR=#000000] n=1:number_of_files [/COLOR] s=load([[COLOR=#a020f0]'D'[/COLOR],num2str(n),[COLOR=#a020f0]'.txt'[/COLOR]]); [COLOR=#228b22]% specify wind speed and direction variables [/COLOR]wdir = s(12,:); speed …

0
62
Member Avatar for mahanta

Hi! I am Mahanta, a final student of communication enginerring. I'm recently doing a project regarding modulation algorithms by using matlab version 6.5. I'v built up a simple NRZI encoding algorithm2 convert the binary inputs into analog signal. Ayw, when i come2 the effort adding bit stuffing in this NRZI, …

Member Avatar for b4codes
0
842
Member Avatar for Barefootsanders

Hey guys. Ive been having problems with something. Im trying to load a picture and put random dots on a square part of that image. Right now I got it to put dots on the whole image but I cant seem to get it to just a certain section of …

Member Avatar for Barefootsanders
0
173
Member Avatar for jmelotte

i am searching for Matlab or Simulink code for a beamformer with emphasis on LMS and RLS algorithms thank you for any help, links, ...

Member Avatar for b4codes
0
122
Member Avatar for illuvatar

I wrote this program in MATLAB that converts units (for homework). My teacher doesn't like MATLAB but I do, so I've decided to make everything a bit fancy and a bit overboard. Thus far I've made my program to pop up a menu where in which you pick a unit …

Member Avatar for illuvatar
0
156
Member Avatar for chamrik

Hi everyone How are you, hope good. I am new to this forum and if there is anything that I included here which I am not supposed to have, pls let me know. However,can you please help me with matlab. I want to built a classifier to use in predicting …

0
74
Member Avatar for anandz

I nees a simple MATLAB program to verify the given input figure is triangle..wanted immediatedly reply the link or the direct code soon:sad:

0
52
Member Avatar for mcnasa01

I'm currently working on a homework problem in simulating a vehicle monitoring system. The problem is with my loop to start the problem when I want to end the program all the user should do is press two and the program will break to the very end. However this does …

Member Avatar for b4codes
0
145
Member Avatar for Thealchemist

well I have to solve coupled partial differential eq..... 1st pde contains only 1 variable C(x,t) while 2nd pde contains both C(x,t) and T(x,t) Now 1st pde is independent of 2nd and hence can be solved in matlab 7 . But 2nd pde contains 2 variables C&T both function of …

Member Avatar for b4codes
0
99
Member Avatar for jennifer22cute

Hi, My name is Jennifer.Iam new to Matlab programming.Iam working on reducing the noise content in audio communication.Iam using Hamning codes for the same.I have a sample code with me,which iam uploading in a zip file.Iam unable to understand how it works.Can someone please explain me how the code is …

Member Avatar for jennifer22cute
0
161
Member Avatar for Angiana

Hello guyzz.... is there any1 tat know Matlab here? coz i have a doubt in one of my Matlab question and i hope some1 can help me wif it... thanx...

0
49
Member Avatar for jubleebow

Hi, Any1 knows how to extract the coordinates of the plotted data points on a graph in Matlab? THx

Member Avatar for b4codes
0
67
Member Avatar for Rob Cornell

hello there i have a matlab program that plots an equation. now i need to display this plot on a vb6 form. any idea how i can do it? also will this vb code work if the clients system doesnt have matlab installed in it? hoping to get some help. …

Member Avatar for b4codes
0
98
Member Avatar for jubleebow

Hey guys, in matlab when u do a loop(something like this): [COLOR=red]for i=1:3[/COLOR] [COLOR=red]a= 2*i[/COLOR] [COLOR=red]end[/COLOR] You get a=2 a=6 a=9 any idea how do i assign the 3 answers(a) names so that i can calculate the product of all 3 answers?

Member Avatar for WaltP
0
136
Member Avatar for jubleebow

Can anyone teach me how to plot the line of best fit in this graph? Matlab keeps gving me error message that polymial is not uniquie when i use polyfit() command THx % change working directory to data directory cd C:\weatherdata number_of_files=length(dir)-3; for n=3:number_of_files s=load(['D',num2str(n),'.txt']); % define y as height …

Member Avatar for jubleebow
0
355
Member Avatar for juniar

is there some one done some work on 16QAM modulation over satellite link... coz i am trying to implement 16QAM modulation for satellite link but i am not getting how to pass my signal trough satellite transpponder to add noise into signal hence nonlinearity as transponder amplifies the signal it …

0
44
Member Avatar for meet_ganesan

Hi...I'm very new to Matlab, I am in need of matlab prog for......... how to find the number of spike that crosses a threshold value ifor a given signal....... Can anyone please help me?? with lot of thanks...........

Member Avatar for Member #46692
1
37
Member Avatar for jubleebow

Hi to all, I want to ask how can I load files with for loop? My file names are like D1,D2,D3 and so on.. THen how do i assign the filename variable so that Matlab recognises it? I tried using this code but it seemed that Matlab recognised the a …

Member Avatar for WaltP
0
102
Member Avatar for powerpuffgals

Dear Guys... I really need a help...I have this PASCAL codes which i nee dthem to be translated to either in MATLAB or C codes....Do anyone knows how to do it? I have a short time...Its for my project...Is there any software to help me?? Hope to get a reply …

0
66
Member Avatar for DeaducK

I have matlab 7 installed. When i start it, the thing starts and it says that its initializing. Butn once that is done, it instantly closes on its own. :eek: Its really frustrating, cuz i know there is nothng wrong with the intalling files, as it is working fine in …

Member Avatar for BCKILLa
0
134
Member Avatar for tanir

Hi all! [COLOR=black]Since yesterday, i have had problem by using "regexp" in MATLAB. Actualy, it is not the first time fro me to use "regexp", but now it gives me error. It says[/COLOR] [COLOR=red]??? Reference to non-existent element of a cell array.[/COLOR] [COLOR=black]I want to extract some part from my …

0
75
Member Avatar for Nayeema

HI EVERYONE! i am wondering if anyone can help with the wavplay function. i need to generate the piano octave do, re,me... in matlab using this function. i know that the parameters of this function are wavplay(y, Fs). i am having difficulty understanding what y is and how to use …

0
60
Member Avatar for jubleebow

Could any1 help me plzzzz. PLz teach me how to plot coordinates on a map given the initial lat and lon and the bearing and distance to the destination. thx

Member Avatar for Member #46692
0
170
Member Avatar for jayanprasad

matlab 7 04 has a neural network tool box in it with the GUI for creating new networks with a set of training algorithms(it doesnt have ART). can anyone working with matlab for neural networks tell me how to create more hidden layers for the network and change the network …

Member Avatar for b4codes
0
112
Member Avatar for snehaa69

Hi, I want to write a code in Matlab, that will find a best fit. I have 4 columns of values. The Red, Green and blue values and in the fourth column the temperature values. I want matlab to intelligently find me the best corelation between the RGB values and …

Member Avatar for b4codes
0
139
Member Avatar for lestont

i want to write an awgn channel model in matlab. I know there is a predifined function awgn(..) but can somebody please help me with mathematical details of the awgn channel model. Thank you.

Member Avatar for b4codes
0
96
Member Avatar for boofus

Hi all, I'm an experienced programmer in C, C++, and Java, and I'm new to this site. I was wondering if this would be an appropriate place to post a Matlab question. Any Matlab gurus out there? I have a bunch of data files of 10,000 -dimensional vectors that I'm …

Member Avatar for b4codes
0
136
Member Avatar for default

hi i'm not sure how to start this program. The program is: to take in a set of x and y data, perform the least squares regression, and use the coefficients to predict values for the x values given and print the x, y and predicted y values. Input should …

Member Avatar for b4codes
0
144
Member Avatar for maitung

Hello there, I wonder whether anyone use Matlab here? if so, please help me to set the properties for figure function, so that it can display a caption instead of the default Figure1, Figure2 ... thanks.

Member Avatar for b4codes
0
95
Member Avatar for yaz123

hi guys I'm a final year student, in engineering. i've just signed up to this forum. Hope all is good. i'd appreciate any help. I have a piece of matlab code which used to work like last year. but i am having some trouble with it now. Before i f …

Member Avatar for hsayid
0
128
Member Avatar for aifiereena

help me solve this...what i need is if anybody can change this codes from part 2 to part 5 but still use the same concept. the output must in negative and positive value. pls email [email protected] % PART I --------The calculation of deflection and effective stiffness for a force at …

Member Avatar for f1 fan
0
106
Member Avatar for aifiereena

help me solve this...what i need is if anybody can change this codes from part 2 to part 5 but still use the same concept. the output must in negative and positive value. pls email [email protected] % PART I --------The calculation of deflection and effective stiffness for a force at …

0
73
Member Avatar for aifiereena

help me solve this...what i need is if anybody can change this codes from part 2 to part 5 but still use the same concept. the output must in negative and positive value. pls email [email protected] % PART I --------The calculation of deflection and effective stiffness for a force at …

0
74
Member Avatar for homesickalien0
Member Avatar for weidrich_andri
0
94
Member Avatar for jayanprasad

matlab 7 04 has a neural network tool box in it with the GUI for creating new networks with a set of training algorithms(it doesnt have ART). can anyone working with matlab for neural networks tell me how to create more hidden layers for the network and change the network …

0
73
Member Avatar for wong.ck

hi, i'm a final yr student. currently i need to write a matlab program which requires the use of an optimising program (fmincon) i'm very new to matlab and i have no idea on writting any of the codes. i was wondering if there is any useful website or reference …

Member Avatar for wong.ck
0
110
Member Avatar for kbradley

Hello Everyone, I am sorry to post this in the java forum but I was not sure where to post this so if you know of a better place in here, let me know. I already tried the computer and engineering forum and I figured Java people would know Matlab. …

0
56
Member Avatar for kbradley

Hello Everyone, I was not sure where to post this but if you know of a better place in here, let me know. I am working on the incorporation of a toolbox of functions my company wrote into Matlab. The functions are all in Matlab. I am trying to find …

0
89
Member Avatar for kbradley

Hello everyone! I am an Aerospace Engineer who will be spending the next few years of my life becoming alot more familiar with programming. I am pretty familiar with procedural things in Matlab and Fortan (77&90). I have helped to construct a Fortran 90 library (while I was in college, …

0
46
Member Avatar for openhiem

hey all, I just joined this community. I have been programming quite a bit in C/C++, however, this is the first time i am doing something like this. I have the Microsoft VC++ 6 package. The idea is to use the functions i have already written in the past( a …

Member Avatar for jbennet
0
242
Member Avatar for skidoott

:confused: I have to finish writing a code for the game FIZZ-BUZZ in two days. I have been working on my code for over one week but can't get it to work. I would be glad if anyone could halp me out here. Thanks

0
94
Member Avatar for finalyearGurL

Anyone knows if there's a program to automatically convert from C++ to matlab? Or are there functions in matlab which i can use such that i can call the c++ program in matlab environment? I got a huge chunk of programming codes, coded using perl and c++. From the matlab …

0
74
Member Avatar for meiyueh

[ASCII 44100Hz, Channels: 1, Samples: 43056, Flags: 0] -0.106754 -0.106540 -0.106479 -0.105838 -0.105930 -0.106296 -0.105899 -0.105045 -0.105167 -0.105899 -0.105625 -0.105564 -0.105289 -0.105441 -0.105411 -0.105869 -0.105686 -0.104221 -0.104556 Above is some part of the ASCII i copy and paste in the editor in matlab. what should i add in the editor …

0
64
Member Avatar for eparadis

Hi, New to Matlab, having a slight problem figuring this one out. I'm reading in a series of matlab structures entitled 'v1', 'v2', etc..., needing to plot some info in these structures. Not sure about the best way to do it, so far: for i = 1:100 n1 = join('','v', …

0
110
Member Avatar for snuka00

Hi...I'm very new to Matlab, I need urgent with a program of mine. Can anyone please help me?? thanks a million. The following is the error message I get everytime I run program 1: ??? Error using ==> optimset Expected argument 2 to be a string parameter name or an …

0
147
Member Avatar for GC1234

I have taken a trace of an ECG sampled at 360HZ. from the following website: [url]http://www.physionet.org/physiobank/database/mitdb/[/url] I have to contaminate it with an artificial 50Hz sinusoid. I am working on MATLAB. I imported the .dat file got from the website to the Signal Processing tool in MATLAB. I have also …

Member Avatar for ShaneMcP
0
139

The End.