First  |  Prev |  Next  |  Last
Pages: 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
Animations
Greetings... I am attempting to make animations in Matlab so that I can save them as some type of video file. I have successfully done this with movie2avi, but the filesize is much too large (I am running Matlab on a Unix platform at my university, so I cannot compress the output .avi file directly). I also don't ha... 24 Jul 2010 19:53
Reading Non-Rectangular Text File
"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i2fnhj$m97$1(a)fred.mathworks.com>... [..] I'd suggest to avoid using the names generated by GENVARNAME as names of variables. After parsing your example, you cannot access the Matlab function BETA anymore! Better use a struct and dynamic field names to ... 24 Jul 2010 18:49
Reading Non-Rectangular Text File
Dear Brian, [code] Configuration: # Surfaces = 6 # Strips = 160 # Vortices =1600 Sref = 11.511 Cref = 0.0000 Bref = 256211 Xref = 13.667 Yref = 0.0000 Zref = 0.0000 Standard axi... 24 Jul 2010 18:49
Reading Non-Rectangular Text File
Once you have extracted the right strings before and after each equal sign, you'll need genvarname to generate valid variable names from the 'before'-strings, sscanf to convert the 'after'-strings to numeric data, and finally assignin to get your variables assigned. ... 24 Jul 2010 17:44
Excel error 429 when running Matlab magic square example from Matlab builder
Hi, I was working with the Matlab builder magic square example (can be found in matlab builder users guide) in Matlab to compile and build m-files into COM objects for Excel. Essentially, the building process creates a .bas file which can be imported into Visual Basic Editor in MS Excel. In the VB code, the Matlab f... 24 Jul 2010 17:44
fminunc, fminsearch
Hi John, I used fminunc (instead of fminsearch), and got the following message: { Warning: Gradient must be provided for trust-region algorithm; using line-search algorithm instead.} In fminunc at 347 In minestimation_simplex at 31 ... 24 Jul 2010 18:49
Vectorizing a Nested Loop for a Staggered Grid
Hi, I am interested in learning how to reduce the simulation time for a nested for loop so that I can reduce some computational time. The purpose of my code is to create a 2D staggered grid (j,k) where U is defined at (j+1/2,k), V is defined at (j,k+1/2), and h is defined at (j,k). Most of the computational time of ... 24 Jul 2010 16:40
Counting the frequency of data in an array
I have an array of data that contains a vehicle's speed for a journey that lasts 600 seconds. I have an individual record of speed for each second of the journey. I would like to count the occurrence of each individual speed (kph) from 0 to 78 kilometers per hour in order to understand which speeds occur the most. For ... 25 Jul 2010 16:12
How to estimate parameters of a 2D function ?
Hi, I have the following data set x = [ 1.00 0.90 0.80 0.70 0.60 0.50 0.40 0.30 0.20 0.10 0]; y = [ 1.00 1.10 1.20 1.30 1.40 1.50 1.60 1.70 1.80 1.90 2.00]; f = [ 0 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00]; How can I find an approximated function f(x,y) that best fit this data set ? Thanks, Alex ... 24 Jul 2010 16:40
duty cycle PWM
Hi! I have no idea if matlab 2010 has a kind of block modulator such as you send a value between 0 to 1 and then you have a PWM? I want this kind of block ONLY to drive ONE electronic switch switch such as a MOSFET. If someone has an idea thanks to contact me to sw1_n(a)hotmail.com Thanks in advance ... 24 Jul 2010 14:29
First  |  Prev |  Next  |  Last
Pages: 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182