<!doctypehtml><title>
   Bit Error Rate Calculation - comp.soft-sys.matlab
  </title><meta content=width=device-width name=viewport><meta content="Hello,                I want to simulate BER for SCFDMA. Before that I like to know the ber for ofdm, if there is any matlab code for ofdm for differe... 990166"name=description><link href=//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css rel=Stylesheet><link href=/_config/main.css rel=stylesheet><link href=/scripts/colorbox/colorbox.css rel=stylesheet><link href=http://compgroups.net/comp.soft-sys.matlab/bit-error-rate-calculation/990166 rel=canonical><script async defer src=https://w.topage.net/box.js></script><body><div id=wrapper><nav class="navbar navbar-default navbar-static-top navbar-fixed-top"style="margin-bottom: 0"role=navigation><div class=navbar-header><button class=navbar-toggle data-target=.navbar-collapse data-toggle=collapse type=button><span class=sr-only> Toggle navigation </span> <span class=icon-bar> </span> <span class=icon-bar> </span> <span class=icon-bar> </span></button><a class=navbar-brand href=/> <span> <img src=/img/comp.png> compgroups </span> </a></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><li class=hidden><a href=#page-top> </a><li><a href=/groups/> <img src=/img/group16.png> groups </a><li><a href=/top-users/> <img src=/img/users16.png> users </a><li><a href=/article~stream> <img src=/img/clock16.png> stream </a><li><a href=/site~search> <img src=/img/icon_search.gif> search </a><li><a href=/article~browse/1> <img src=/img/earth16.png> browse </a><li><a href=/article~post> <img src=/img/add16.png> post </a><li><a href=/site~about> <img src=/img/info16.png> contact </a><li id=user></ul></div></nav></div> f <br><br><br><br><div class="rtl-container-fixed-center body-content"><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"></div></div><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><div class="panel panel-default panel-heading"><h4>Bit Error Rate Calculation</h4></div></div><div class="col-md-4 col-lg-2 well well-sm"id=socials><span displaytext="Google +"class=st_googleplus_large> </span><span class=st_facebook_large displaytext=Facebook> </span><span class=st_twitter_large displaytext=Tweet> </span><span class=st_linkedin_large displaytext=LinkedIn> </span><span class=st_reddit_large displaytext=Reddit> </span><span class=st_email_large displaytext=Email> </span></div></div><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><div class="panel panel-default"><div class=panel-body><pre class=ForumPostContentText>Hello,
               I want to simulate BER for SCFDMA. Before that I like to know the ber for ofdm, if there is any matlab code for ofdm for different equalizers please send to my mail, also suggest how to find ber and how to plot using matlab please, 
</pre></div><div class=panel-heading><div class=row><div class=col-md-4><table style="text-align: center;  width:90px"class=Voting votesum=0><tbody><tr><td><img onclick="OnVoteArticle($(this).closest('table'),'<iomjcq$p84$1@fred.mathworks.com>', true);"style="cursor: pointer"title="Vote Up!"height=20px src=/img/icn/plus32.png><td style="color: Green; font-weight: bold; font-size: 15px"title="0 Total Votes">0<td><img onclick="OnVoteArticle($(this).closest('table'),'<iomjcq$p84$1@fred.mathworks.com>', false);"style="cursor: pointer"title="Vote Down!"height=20px src=/img/icn/minus32.png></table></div><div class=col-md-4><span class=user> <a href=/user/vishnupriyal.cet> <img src=http://www.gravatar.com/avatar/22671cb45d84a9d8be6df4c5c92b8283.jpg?s=24&d=identicon> <b> vishnupriyal.cet </b> </a> <b style=color:green title=Points> (3) </b> </span></div><div class=col-md-4><span class="date pull-right"> 4/20/2011 12:26:03 PM </span></div></div></div></div></div><div class="col-md-4 col-lg-2 well well-sm"><div class=item><a href=/comp.soft-sys.matlab/> <img src=/img/icn/group.png> <b> comp.soft-sys.matlab </b> </a><a href=/comp.soft-sys.matlab/info> <img title="comp.soft-sys.matlab group information"src=/img/icn/i.png> </a><img src=/img/icn/article.gif> 211264 articles. <img src=/img/icn/star2.gif> 26 followers. <span> <span class=user> <a href=/user/lunamoonmoon> <img src=http://www.gravatar.com/avatar/22850ad3da882399ce781024313fcb2c.jpg?s=24&d=identicon> <b> lunamoonmoon </b> </a> <b style=color:green title=Points> (257) </b> </span> is leader. </span><a class="btn btn-success btn-xs"href=/article~post?g=comp.soft-sys.matlab> Post </a><a class="btn btn-info btn-xs"onclick="OpenModal('/fr~subscribegroup?group=comp.soft-sys.matlab', 400, 300)"> Follow </a></div><br><img src=/img/icn/reply.png><b> 3 Replies </b><br><img src=/img/icn/eye.png><b> 986 Views </b><br><br><b> <a href=#similar> <img src=/img/!.png> Similar Articles </a> </b><br><br><span id=PageSpeed> [PageSpeed] </span> 43 <div class=topage-box></div><div class="visible-md visible-lg"id=ad4></div></div></div><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><b> <a class=a2 href=#similar> <img src=/img/!.png> See related articles to this posting </a> </b><br><br></div></div><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"id=ad1></div></div><br><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><div class="panel panel-default"><div class=panel-body><pre class=ForumPostContentText>"Vishnupriya L" wrote in message &LTiomjcq$p84$1@fred.mathworks.com>...
> Hello,
>                I want to simulate BER for SCFDMA. Before that I like to know the ber for ofdm, if there is any matlab code for ofdm for different equalizers please send to my mail, also suggest how to find ber and how to plot using matlab please, 

hiii, If you have code for OFDM for LTE signals can you give it to me,

thanks for your help.
</pre></div><div class=panel-heading><div class=row><div class=col-md-4><table style="text-align: center;  width:90px"class=Voting votesum=0><tbody><tr><td><img onclick="OnVoteArticleReply($(this).closest('table'),'<isgcn4$8or$1@newscl01ah.mathworks.com>', true);"style="cursor: pointer"title="Vote Up!"height=20px src=/img/icn/plus32.png><td style="color: Green; font-weight: bold; font-size: 15px"title="0 Total Votes">0<td><img onclick="OnVoteArticleReply($(this).closest('table'),'<isgcn4$8or$1@newscl01ah.mathworks.com>', false);"style="cursor: pointer"title="Vote Down!"height=20px src=/img/icn/minus32.png></table></div><div class=col-md-4><span class=user> <a href=/user/gsudarshan_87> <img src=http://www.gravatar.com/avatar/5bb5bb8912398f358cc049f630ce43d4.jpg?s=24&d=identicon> <b> gsudarshan_87 </b> </a> <b style=color:green title=Points> (3) </b> </span></div><div class=col-md-4><span class="date pull-right"> 6/5/2011 5:00:20 PM </span></div></div></div></div></div></div><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><div class="panel panel-default"><div class=panel-body><pre class=ForumPostContentText>"Vishnupriya L" wrote in message &LTiomjcq$p84$1@fred.mathworks.com>...
> Hello,
>                I want to simulate BER for SCFDMA. Before that I like to know the ber for ofdm, if there is any matlab code for ofdm for different equalizers please send to my mail, also suggest how to find ber and how to plot using matlab please, 

hello
did you find the method an m-file for scfdma?
would yo give me or share them here?
thank you in advance
</pre></div><div class=panel-heading><div class=row><div class=col-md-4><table style="text-align: center;  width:90px"class=Voting votesum=0><tbody><tr><td><img onclick="OnVoteArticleReply($(this).closest('table'),'<kf2nal$9d5$1@newscl01ah.mathworks.com>', true);"style="cursor: pointer"title="Vote Up!"height=20px src=/img/icn/plus32.png><td style="color: Green; font-weight: bold; font-size: 15px"title="0 Total Votes">0<td><img onclick="OnVoteArticleReply($(this).closest('table'),'<kf2nal$9d5$1@newscl01ah.mathworks.com>', false);"style="cursor: pointer"title="Vote Down!"height=20px src=/img/icn/minus32.png></table></div><div class=col-md-4><span class=user> <a href=/user/narges.yaghoobizade> <img src=http://www.gravatar.com/avatar/df4d0bd89de6669e637a2ef7d5884a87.jpg?s=24&d=identicon> <b> narges.yaghoobizade </b> </a> <b style=color:green title=Points> (1) </b> </span></div><div class=col-md-4><span class="date pull-right"> 2/8/2013 11:25:09 AM </span></div></div></div></div></div></div><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><div class="panel panel-default"><div class=panel-body><pre class=ForumPostContentText>On Fri, 08 Feb 2013 11:25:09 +0000, narges  wrote:

> "Vishnupriya L" wrote in message &LTiomjcq$p84$1@fred.mathworks.com>...
>> Hello,
>>                I want to simulate BER for SCFDMA. Before that I like to
>>                know the ber for ofdm, if there is any matlab code for
>>                ofdm for different equalizers please send to my mail,
>>                also suggest how to find ber and how to plot using
>>                matlab please,
> 
> hello did you find the method an m-file for scfdma?
> would yo give me or share them here?
> thank you in advance

Hello,

I want to find soultion for world peace.  if you have matlab code can you send to my mailbox?
thanking you in advance.
</pre></div><div class=panel-heading><div class=row><div class=col-md-4><table style="text-align: center;  width:90px"class=Voting votesum=0><tbody><tr><td><img onclick="OnVoteArticleReply($(this).closest('table'),'<51150c4b$0$40725$c3e8da3$3304c218@news.astraweb.com>', true);"style="cursor: pointer"title="Vote Up!"height=20px src=/img/icn/plus32.png><td style="color: Green; font-weight: bold; font-size: 15px"title="0 Total Votes">0<td><img onclick="OnVoteArticleReply($(this).closest('table'),'<51150c4b$0$40725$c3e8da3$3304c218@news.astraweb.com>', false);"style="cursor: pointer"title="Vote Down!"height=20px src=/img/icn/minus32.png></table></div><div class=col-md-4><span> <img src=/img/icn/user.png> <b> Aftab </b> </span></div><div class=col-md-4><span class="date pull-right"> 2/8/2013 2:31:39 PM </span></div></div></div></div></div></div><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><div class=well><form id=replyForm><table cellpadding=10 width=100%><tbody><tr><td><b> Reply: </b> <br> <textarea placeholder="Enter Your Response"style="width: 100%"id=Body name=Body rows=7></textarea><tr><td><input class="btn btn-success"value="Post Reply"onclick=PostReply() type=button> <input class="btn btn-info"onclick="InsertSignature( $('#Body'),'') "value="Insert Signature"name=insertSignature type=button></table><input value="<iomjcq$p84$1@fred.mathworks.com>"id=MessageId name=MessageId type=hidden><input id=GroupName name=GroupName type=hidden value=comp.soft-sys.matlab><input value="Re: Bit Error Rate Calculation"id=Subject name=Subject type=hidden></form></div><script>function PostReply() {
        IsLoading("<img src='/img/spin.gif' /> Submitting...");

        PostArticle($('#replyForm').serialize())
        .done(function (res) { 
            $.isLoading('hide');

            if (res.msg) IsLoading(res.msg, 2000);
            if (res.result == "manual") {
                $('#replyForm')[0].reset();
                parent.OpenModal('/fr~share?subject=Bit Error Rate Calculation&url=http://compgroups.net/comp.soft-sys.matlab/bit-error-rate-calculation/990166', 350, 150);
            }
            else if (res.result == 'invalid') return;
            else if (res.result == 'ok') {
                parent.OpenModal('/fr~share?subject=Bit Error Rate Calculation&url=http://compgroups.net/comp.soft-sys.matlab/bit-error-rate-calculation/990166', 350, 150,
                    function () { parent.location = res.url + '?refresh=1'; });
            }
            else OpenModal('/fr~signin', 450, 350);
        })
        .fail(function (x) { $.isLoading('hide'); alert(x.responseText); })
       
    }</script></div></div><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><div id=ad2></div></div></div><br><div id=similar></div><div id=divSimilarInternal><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><img src=/img/!.png><b class=a2> Similar Artilces: </b><br><br><div style="overflow: auto"class=well><a href=/comp.dsp/bit-error-and-symbol-error-calculations/1166613> <b> Bit Error and Symbol Error Calculations </b> </a><br> Hello If I am to calculate the theoretical Bit Error Probability and Symbol Error Probability for a MSK-signal (half-cycle sine-pulseshaping) that is contaminated with white, gaussian noise...how do I do that? Thanx :o) ... <br><br><a href=/comp.soft-sys.matlab/matlab-calculation-error-or-am-i-just-du/1464273> <b> Matlab calculation error? Or am I just dumb... </b> </a><br> It may be just that my brain is fried after a marathon to finish the first draft of my PhD thesis, but should this line of code not always return 0? (since I*A = A) any(any(A'*eye(size(A,1))*A - A'*A)) However, if you run the following code you'll find that the answer *VARIES* depending on the random seed (e.g. for me, seed == 82 produces '0', but seed == 81 produces '1'). The crazy thing is that the numbers involved are not crazy at all, at least in the simple setting (scale == 0, offset == 0). If you crank up N1 you'll pretty much never see this code give you '0' rng('shuffle') seed = randi(100,1) rng(seed) N1 = 4; N2 = 2; scale = 0; offset = 0; A = (rand(N1,N2) + offset).*((10*ones(N1,N2)).^(rand(N1,N2)*scale)); temp = A'*eye(size(A,1))*A - A'*A; any(any(temp)) So, am I crazy? Or am I missing something something obvious? Thanks, ~K On 7/24/2012 2:44 PM, Krzysztof wrote: > It may be just that my brain is fried after a marathon to finish the > first draft of my PhD thesis, but should this line of code not always > return 0? (since I*A = A) > > any(any(A'*eye(size(A,1))*A - A'*A)) > .... W/O specifically looking it would seem likely that exact floating point comparisons would fail at least once in a while... What does I=(A'*eye(size(A,1))*A - A'*A)); max(I(:)) return? (I expect all will become less unclear... :) ) -- "Krzysz... <br><br><a href=/comp.soft-sys.matlab/loadlibrary-error-matlab-2012a-64-bit/1002904> <b> loadlibrary error matlab 2012a 64 bit </b> </a><br> My code uses loadlibrary function, it works fine in matlab 2011b 32 bit version with lcc32 compiler. But the same code with matlab 2012a 64 bit (my computer is 64 bit), I did mex set up to use microsoft SDK 7.1, is giving this error: Error using loadlibrary (line 419) Failed to preprocess the input file. Output from preprocessor is:cc_convert.h H:\MATLAB\Corpscon LAS\cc_convert.h(1) : fatal error C1083: Cannot open include file: 'dir.h': No such file or directory I am having a similar error. Has anyone got a solution to this problem?... <br><br><a href=/comp.dsp/simulating-channel-noise-with-a-given-bit-error-rate/1181611> <b> Simulating Channel noise with a given Bit error rate </b> </a><br> Please I am a little bit confused on how to simulate a Channel noise given a particular bit error rate.What determines the randomness of the noise is it the Bit error rate or I have to find a particular probability. I know bit error rate of 10^-2 means 1 out of every 100 bits are in errors. Please I need some explanation on how to go about it. any supporting matlab code to explain will be great or resources on the web will also be nice. Thank you. On May 14, 1:37=A0pm, Deamon &LTpersistence...@gmail.com> wrote: > Please I am a little bit confused on how to simulate a Channel noise > given a particular bit error rate.What determines the randomness of > the noise is it the Bit error rate or I have to find a particular > probability. I know bit error rate =A0of 10^-2 means 1 out of every 100 > bits =A0are in errors. Please I need some explanation on how to go about > it. any supporting matlab code to explain will be great or resources > on the web will also be nice. > > Thank you. For the i-th bit, generate a random number xi between 0 and 1 using any one of many random number generators; you probably have one available to you in whatever programming language you are using (C, C++, Matlab, Mathematica, etc.). If xi is between 0.495 and 0.505, i.e. satisfies 0.495 < xi < 0.505, flip the i-th bit (that is, change 0 to 1, or change 1 to 0). That's it. Over a large number (thousands) of bits, roughly 1% will be in error. However, it i... <br><br><a href=/comp.soft-sys.matlab/bit-error-rate-for-wimax-performance-und/997971> <b> Bit Error Rate for WiMAX performance under fading channel </b> </a><br> Hello everybody, I'm University student have a task to do Matlab project. The title of my project is "Bit Error Rate for WiMAX performance under fading channel" So, if you have complete coding regarding to my project title. Please respond here or email me daikuya21 [@] gmail.com Thanks sir,, ... <br><br><a href=/comp.arch.embedded/transfer-rate-error-in-may-calculations-or/1291103> <b> Transfer Rate ( error in may calculations or am I missing something ?) </b> </a><br> Ictried this several times ... transfering data Ascii 7bits+1start+1parity+1stop = 10 bits per character Baud = 9600 Characters per second = baud / bits per character => 960 characters per second File size to transfer = 8.88 kilobytes = 9093 bytes = 72745 bits (72745 bits/file ) / (10 bits/character) = 7274 characters per file Hyperterminal transfers file @ 9600 baud via nullmodem cable to another computer in 12 seconds. My calculated transfer of file is 7274 characters / 960 characters / second = 7.58 seconds. At 2400 baud , 240 characters per second I get a transfer time of 41 seconds calculated = 7274 characters / 240 characters per second => 30.3 Why should I be getting such large differences? Some overhead ? new77 wrote: > Ictried this several times ... transfering data > > Ascii 7bits+1start+1parity+1stop = 10 bits per character > Baud = 9600 > Characters per second = baud / bits per character => 960 characters per > second > > File size to transfer = 8.88 kilobytes = 9093 bytes = 72745 bits > > (72745 bits/file ) / (10 bits/character) = 7274 characters per file > > Hyperterminal transfers file @ 9600 baud via nullmodem cable to another > computer in 12 seconds. My calculated transfer of file is 7274 > characters / 960 characters / second = 7.58 seconds. First of all the problem could be at either end. You didn't write the code so you don't know how efficient it is. I suspect you're running W... <br><br><a href=/comp.dsp/relation-between-bandwidth-bit-rate-and-sampling-rat/1170554> <b> Relation between Bandwidth, Bit Rate and Sampling Rate </b> </a><br> Hi all, Nyquist showed that minumum bandwidth, B required for baseband transmission of Rs symbols per sec without ISI is B >= Rs/2 while for bandpass transmission of Rs symbols per sec without is B >= Rs So does it mean that if we use BPSK to transmit 500Mbps at baseband (or passband) then the we require at least 250MHz (or 500MHz) of bandwidth? Equivalently, can we use 16-PSK to transmit 2Gbps (i.e. 4*500M symbol per sec) at baseband (or passband) which requires us to use same minumum bandwidth of 250MHz (or 500MHz) as in the case of BPSK? If the above statements are right then it followed from sampling theorem i.e. For Baseband signal (low pass) - The sampling rate must be greater than twice the highest frequency compenent in the baseband signal. For bandpass signal - The sampling rate must be greater than twice the signal bandwidth, Then, the sampling rate of the system also dependent on the symbol rate of the system. Re-use the example above, the samplig rate for the passband signal must be at least 2*500MHz=1GHz. This sampling rate of 1GHz is sufficient for BPSK signal (where symbol=bit) but how about the 16-PSK case. For 16-PSK system each bit is now 0.5ns which is lower than the sampling time 1ns. So can someone please let me know what are the problems? Many thanks, Regards, Suterr suterr@gmail.com wrote: > Hi all, > > Nyquist showed that minumum bandwidth, B required for baseband > transmission of Rs symbols per sec without ISI is B &g... <br><br><a href=/comp.soft-sys.matlab/32-bit-matlab-on-64-bit-linux/987423> <b> 32-bit Matlab on 64-bit Linux </b> </a><br> Hi, I've some mex code(compiled by somebody else on 32-bit machines) but I currently have a 64-bit version of Matlab installed on 64-bit ubuntu. I saw this suggestion from somebody- http://www.mathworks.cn/matlabcentral/newsreader/view_thread/100595 "The fix (since you can't recompile the .mex files) is to run the x86 version of Matlab, which you can install alongside the native x86_64 version. Once you've done that, whenever you need to run your .mexglx files, start Matlab with 'matlab -glnx86'." So I decided to search if this was actually possible and I found two threads from mathworks.com which I personally believe contradict each other with their answers- http://www.mathworks.com/support/solutions/en/data/1-O7POO/ http://www.mathworks.com/support/solutions/en/data/1-1CAT7/ So my question is whether 32-bit matlab can be installed on a 64bit machine ? Thanks On Sep 29, 1:09=A0pm, "Gautam " &LTgautam.iiith...@gmail.com> wrote: > Hi, > > I've some mex code(compiled by somebody else on 32-bit machines) but I cu= rrently have a 64-bit version of Matlab installed on 64-bit ubuntu. > > I saw this suggestion from somebody-http://www.mathworks.cn/matlabcentral= /newsreader/view_thread/100595 > "The fix (since you can't recompile the .mex files) is to run the x86 ver= sion of Matlab, which you can install alongside the native x86_64 version. = Once you've done that, whenever you need to run your .m... <br><br><a href=/comp.soft-sys.matlab/32-bit-compiler-on-matlab-64-bit/996843> <b> 32 bit compiler on Matlab 64 bit </b> </a><br> Can you install a 32 bit compiler on 64 bit Matlab? I need to deploy compiled code on a 64 bit machine using 64 bit Matlab to a 32 bit machine. Is there any way I can do this WITHOUT installing 32 bit Matlab on my 64 bit computer? Thanks, Saba "Saba El-Hilo" &LTselhilo@sfu.ca> wrote in message &LTj7np4m$mae$1@newscl01ah.mathworks.com>... > Can you install a 32 bit compiler on 64 bit Matlab? > I need to deploy compiled code on a 64 bit machine using 64 bit Matlab to a 32 bit machine. Is there any way I can do this WITHOUT installing 32 bit Matlab on my 64 bit computer? The last time I check: No you still can't. Bruno ... <br><br><a href=/comp.lang.php/rate-calculators/1384744> <b> Rate Calculators. </b> </a><br> I am looking for some interest rate calculators. Something that produces graphs, either as jpegs or in flash. Is there anything around (in PHP) TIA On 27 Feb, 02:11, "~ric." &LTricardo.rus...@gmail.com> wrote: > I am looking for some interest rate calculators. > > Something that produces graphs, either as jpegs or in flash. > > Is there anything around (in PHP) > > TIA When you say hat you are looking, what form does this looking take? For instance has it included putting the words interest rate calculator php graph into Google? Yes it has. on many occasions. daydawn. the majority of the search results bring back shareware software that is not actually appropiate to what i need. My reason for posting the message was to hopefuly get a helpful response, unlike yours, from soneome who has implimented such solutions and would have some feed back on the ones they have used. but hey. thanks for thinking you were coming up with an original, possibly amusing response to my post. keep up the good work. ~ric On Feb 28, 2:46=A0am, Captain Paralytic &LTpaul_laut...@yahoo.com> wrote: > On 27 Feb, 02:11, "~ric." &LTricardo.rus...@gmail.com> wrote: > > > I am looking for some interest rate calculators. > > > Something that produces graphs, either as jpegs or in flash. > > > Is there anything around (in PHP) > > > TIA > > When you say hat you are looking, what form does this looking... <br><br><a href=/comp.soft-sys.matlab/error-on-matlab/1000691> <b> error on matlab </b> </a><br> When I run this code windows...it runs, but never gets to steady state. however, when I run this mac I get this following error. please help ??? In an assignment A(:) = B, the number of elements in A and B must be the same. Error in ==> sym.rdivide at 33 X(k) = mupadfeval('_divide',A(k),B(k)); Error in ==> sym.mrdivide at 24 X = rdivide(B,A); Error in ==> lab6_changed_code at 28 dm1=volc + (Mco2_initial-Mco2s) - W_rate*(Mco2/Mco2s)^0.3- (ocean_t*(Mco2-Mco2s)*Mbuf/Mbufs); % for co2 content in atmosphere Here's my code W_rate=1e13; % mol C per year % D_rate=0; % deposition rate mol C per year Mbufs=1.4e17; % buffer capacity carbonate ion in the ocean % mol C per year Mco2s=5.04e16; % Co2 in the atmosphere ocean_t=.001; % ocean mixing time volc=1e13; Mco2_initial=8.33e16; % instantaneous input of carbon Mbuf_initial = Mbufs; Initial_set = [Mco2_initial Mbuf_initial]; syms Mco2 Mbuf D_rate_variable variable = [Mco2,Mbuf]; variable_2 = [Mco2,Mbuf,D_rate_variable]; % at steady state Mco2=Mco2s dm1=volc + (Mco2_initial-Mco2s) - W_rate*(Mco2/Mco2s)^0.3- (ocean_t*(Mco2-Mco2s)*Mbuf/Mbufs); % for co2 content in atmosphere % sat_state=Mbuf/Mbufs; % saturation state of the ocean % for ocean buffer capacity % if sat_state==0 % caco3 dissolves in the ocean and releases carbonate ion increasing buffer capacity % D_rate=-1e13; % end %... <br><br><a href=/comp.soft-sys.matlab/error-in-matlab/420242> <b> error in matlab </b> </a><br> hi all any one help me with tis matlab error due to less memory. any solution for tis. am usin MATLAB (R2008a). Unexpected error status flag encountered. Resetting to proper state. thanks kirthi "kiruthiga " &LTkirthi.chandrasekar@gmail.com> wrote in message news:ii5jtf$hv3$1@fred.mathworks.com... > hi all any one help me with tis matlab error due to less memory. any > solution for tis. am usin MATLAB (R2008a). > Unexpected error status flag encountered. Resetting to proper state. I think you're more likely to receive some constructive suggestions if you post to the newsgroup some code with which you can reproduce this problem. -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com ... <br><br><a href=/comp.dsp/correct-3-bit-error-in-7k-bit-length-code/1169054> <b> Correct 3 bit error in 7k bit length code? </b> </a><br> Hello all, I encounter a problem that a 7k bit length code have several error (mostly 3 bit error). And the 3 bit error are burst error(i.e. they are nearby in a small region). How to correct this 3 error in 7k length code? And should I seperate the 7k code to smaller length code or combine it into larger length code? What error correction method should I choose? Any idea will be appreciated. Thanks. Best Regards, Davy "Davy" &LTzhushenli@gmail.com> wrote in message news:1114248598.587535.164220@g14g2000cwa.googlegroups.com... > Hello all, > > I encounter a problem that a 7k bit length code have several error > (mostly 3 bit error). And the 3 bit error are burst error(i.e. they are > nearby in a small region). > > How to correct this 3 error in 7k length code? And should I seperate > the 7k code to smaller length code or combine it into larger length > code? What error correction method should I choose? > > Any idea will be appreciated. Thanks. > It depends on what you mean by "code". If it's not an error-correcting code then you can't. There are lots of error correcting codes that you might choose from. The application and the situation probably dictate one method over another. There are RFCs on the subject as well. Google for things like: http://www.eccpage.com/ Fred ... <br><br><a href=/comp.soft-sys.matlab/matlab-32-bit-operation-64-bit-operation/995677> <b> matlab 32 bit operation 64 bit operation caculation precision </b> </a><br> Hi I run matlab programme seperately in 32 bit windows xp operation and 64 bit windows 7 operation ,but find that result is difference. The programme uses fmincon function .In 32 bit ,It can get optimization result ,but in 64 bit , a error occures as follows . I trace caculation process ,and find that It is causes by multiplication difference . ??? Error using ==> svd Input to SVD must not contain NaN or Inf. Error in ==> pinv at 29 [U,S,V] = svd(A,0); First ,What's the reason of the difference. I wonder that maybe it is caused by digit lenght in bit 32 and bit 64.But I'm not sure. Second, How can I do to get the same result in bit32 and 64 bit . Do I need to control digit length in bit 64 operation . Thanks Thanks "Feng " &LTshi01fg@163.com> wrote in message &LTj4ee4l$smt$1@newscl01ah.mathworks.com>... > Hi > > I run matlab programme seperately in 32 bit windows xp operation and 64 bit windows 7 operation ,but find that result is difference. The programme uses fmincon function .In 32 bit ,It can get optimization result ,but in 64 bit , a error occures as follows . I trace caculation process ,and find that It is causes by multiplication > difference . > ??? Error using ==> svd > Input to SVD must not contain NaN or Inf. > > Error in ==> pinv at 29 > [U,S,V] = svd(A,0); > > First ,What's the reason of the difference. I wonder that maybe it is caused by digit lenght i... <br><br><a href=/comp.soft-sys.matlab/windows-7-64-bit-matlab-2011a-64-bit-and/992767> <b> Windows 7 64-bit, Matlab 2011a 64 bit and NI-PCI6534 </b> </a><br> I am using a win7 64 machine and have Matlab 2011a 64 bit (with all toolboxes) installed. I have a National Instruments PCI digital I/O card that I'm looking to mess with (I have 9.3 version of NI-DAQmx installed). The problem is I can't seem to figure out how to talk to this card. Can someone point me in the right direction to get started? Thanks, Jason ... <br><br><a href=/comp.soft-sys.matlab/can-activex-server-on-64-bit-matlab-open/999361> <b> Can ActiveX server on 64-bit MATLAB open a 32-bit app? </b> </a><br> Hello, Does anybody know if the ActiveX server of 64-bit MATLAB can open a 32-bit application running on a 64-bit Windows 7? It looks like I lost this capability after upgrading to 64-bit machine... Thank you! Did you find the solution? As per http://www.mathworks.com/products/matlab/preparing-for-64-bit-windows.html it cannot. Phil. ... <br><br><a href=/comp.soft-sys.matlab/a-general-problem-in-64-bit-matlab-with/991907> <b> A general problem in 64-bit Matlab with establishing connections to 64-bit ODBC databases </b> </a><br> I have tried to connect to MS Access database (Windows 7, Matlab 2011 both 64 bits) but I got the same error as for a SQL server connection: conn =3D database('DRIVER=3D{Microsoft Access Driver (*.mdb, *.accdb)};DBQ=3DC:\Program Files\MATLAB\R2011a\toolbox\database\dbdemos \tutorial.mdb', '', '') conn =3D Instance: 'DRIVER=3D{Microsoft Access Driver (*.mdb, *.accdb)};DBQ=3DC:\Program Files\MATLAB\R2011a\toolbox\database\dbdemos \tutorial.mdb' UserName: '' Driver: [] URL: [] Constructor: [1x1 com.mathworks.toolbox.database.databaseConnect] Message: '[Microsoft][ODBC Driver Manager] Invalid string or buffer length Please verify that login information and database url are valid.' Handle: 0 TimeOut: [] AutoCommit: 'off' Type: 'Database Object' For MS SQL server 2008 I managed to get around with jdbc driver provided by Microsoft but I cannot find anything similar for MS Access. I have spent today half day looking for such driver on MS web site but without much success. Does anyone know if such driver is available? I guess any jdbc =96 odbc bridge for 64-bit systems would be good too. Kirill ... <br><br><a href=/comp.soft-sys.matlab/what-is-the-best-way-to-import-excel-fil/1002802> <b> What is the best way to import Excel files, with stock data, into Matlab? I’m using Matlab R2010b (64-bit) </b> </a><br> What is the best way to import Excel files, with stock data, into Matlab? I’m using Matlab R2010b (64-bit) I’m trying to import historical prices of stock data. Matlab keeps cutting off the header of each column; it gives me only values. I am thinking that this is a data-type-mixing-issue, or whatever it’s called. I have ‘Dates’ in ColumnA, and ‘MSFT’, ‘PWER’, ‘KO’, and ‘SBUX’, in ColumnB-ColumnE. Basically, if I put the Excel file in my Matlab folder and double-click the file, I see the values in a matrix (no dates and no headers), I hit ‘Next’. Then, I see only one option; one radio button is enabled – ‘Create variable matching preview’. The other two options, ‘Create vectors from each column using column names’ and ‘Create vectors from each row using row names’ – both are greyed out. I’ve seen videos, on YouTube and on the Matlab site, where people import excel data and these options are NOT greyed out. No matter what I do, there options are ALWAYS greyed out. The problem is, when I click ‘Finish’ in my ‘Workspace’ I have a variable named ‘data’ all values in a 575x4 matrix, but I have NO DATES and I have NO HEADERS on the columns. All of this seems to go into another variable, called ‘textdata’; all dates and headers ate in textdata. This is VERY inconvenient. I’m trying to analyze some stock data and I have no headers, so I have no idea which stock is which (I can figure it out, but I think Matlab should do this for me). Also, I have no dates corresponding to ... <br><br><a href=/comp.soft-sys.matlab/c++-mex-file-crashes-matlab-on-64bit-lin/997913> <b> C++ Mex file crashes matlab on 64bit linux, but not 32 bit windows, but program runs fine outside Matlab </b> </a><br> Hello, I have written a mex gateway function to a C++ class. If I compile this mex function on 32Bit windows using R2008a I have no problems. If I compile and run on Matlab R2011a running 64bit Scientific Linux (a version of Red Hat Enterprize Linux) matlab exits with a segfault when the mexfunction is called, although it appears to run about halfway through the program. The C++ class can be compiled and run (with a main function) outside of Matlab on both platforms with no errors. I am using Microsoft Visual C++ Express Edition on the windows machine, and gcc 4.4.5 on the Linux machine. Can anyone suggest what the cause of this might be and how I can I fix it? I am having a hard time debugging on Linux as I do not have access to a graphical debugger for use with matlab and am unfamiliar with gdb. This is compounded by the fact that the program compiles and runs fine when compiled as a standalone program. A zip file containing the code and data files necessary to reproduce the problem can be downloaded from http://www.see.ed.ac.uk/~s0237326/downloads/mexcrash.zip. This zip file contains the .m and .cpp source code, and a text file for testing (Temp.fem). The file fmehsersetup.m shows the commands I am using to compile. The file Test_mexfmesher.m runs the mexfunction with an appropriate input for testing. The mex gateway function is mexfmesher.cpp, it calls the fmesher class which is made up of the files in the fmesher directory. Below is a backtrace from the se... <br><br><a href=/comp.soft-sys.matlab/error-in-matlab-5/995822> <b> Error in MATLAB #5 </b> </a><br> I keep getting errors from the folowing >> k = 0:10 e = exp(1) s = sum(1/factorial(k.)) k = Columns 1 through 10 0 1 2 3 4 5 6 7 8 9 Column 11 10 e = 2.7183 ??? s = sum(1/factorial(k.)) | Error: Unbalanced or unexpected parenthesis or bracket. On 9/15/2011 10:35 AM, Mike wrote: > I keep getting errors from the folowing >>> k = 0:10 > e = exp(1) > s = sum(1/factorial(k.)) .... > > ??? s = sum(1/factorial(k.)) > | > Error: Unbalanced or unexpected parenthesis or bracket. Well, yeah, what's the "." supposed to be doing here? A side point is the expression probably isn't what you're looking for anyway, but that's another issue... -- Mike: Get rid of the dot after the k and put it before the slash: k = 0:10 e = exp(1) yourarray = 1./factorial(k) % Just to print it out to see what is being summed. s = sum(1./factorial(k)) ... <br><br><a href=/comp.soft-sys.matlab/matlab-errors-4/1001350> <b> Matlab errors #4 </b> </a><br> hello everyone I'm new here and I was wandering if you could help me with this program... My code: function o = convertSingletoOctal(bs) F2=zeros(1,23); e2=zeros(1,8); for i=10:32 F2(i-9)=bs(i); end for i=2:9 e2(i-1)=bs(i); end [E8,F8,e8]=Convert2to8Exp(F2,e2);%Calling the function Convert2to8Exp t=bs(1); if t == 1 o=disp(['o = - ', num2str(E8),'.',num2str(F8),' * 8^',num2str(e8)]); elseif t == 0 o=disp(['o = + ', num2str(E8),'.',num2str(F8),' * 8^',num2str(e8)]); end end Convert2to8Exp function= function [E8,F8,e8]=Convert2to8Exp(F2,e2) [E,F,e]= ShiftBinary(F2,e2);%Calling the function %Converting the integral part r=e2-e; if(r==0) E=[0 0 E]; elseif(r==1) E=[0 E]; end E8=(E(1)*2^2)+(E(2)*2)+E(3); %Converting the fractional part k =length(F); re=rem(k,3); if(re==1) F=[F 0 0]; elseif(re==2) F=[F 0]; end k1 = length(F); o = k1/3;%number of octal triplets F8=zeros(1,8); for i=1:o F8(i)=F(3*i-2)*2^2+F(3*i-1)*2+F(3*i); end %Computing the exponent e8=e/3; end Shift Binary function: function [E , F, e] = ShiftBinary(F2, e2) q = floor (e2/3); r = rem (e2,3); if (r==1) E= [1 F2(1)]; F= F2(2:(length(F2))); elseif (r==2) E= [1 F2(1) F2(2)]; F= F2(3:(length(F2))); elseif (r==0) E= 1; F= F2(1:length(F2)); end e = 3 * q; end The error: Error in ==> ShiftBinary at 7 ... <br><br><a href=/comp.os.linux.networking/nistnet-bit-error/1817391> <b> NistNet Bit-Error </b> </a><br> I have heard that there may exist a bit-error add-on for nistnet, is anyone aware of where I can obtain this add-on? ... <br><br><a href=/comp.dsp/bit-rate-faq/1169783> <b> bit rate FAQ </b> </a><br> HI GUYS Me Arpit.This is my first posting to this group. i jus want to know "what is bit rate".Actually i was using "duplicate finder" a software which detects duplicate files on computer. It detected two same mp3 files (same song)but with different file size .I got confused and further checking i clicked on the summary tab of files properties and found out the following: File 1 : 5.77MB AUDIO: Duration : 0:06:18 Bit Rate : 48kbps Channels : 2 (stereo) Audio sample rate : 22kHz File 2 : 2.16 MB AUDIO: Duration : 0:06:18 Bit Rate : 128kbps Channels : 2 (stereo) Audio sample rate : 44 kHz why is the difference in the properties of the files when it the same SONG.Also tell me which one should i keep.which is better.when u play the files then they sound identical .Please help . Thanks in advance. >why is the difference in the properties of the files when it the same >SONG.Also tell me which one should i keep.which is better.when u play >the files then they sound identical .Please help . The higher the bit rate, the better it sounds. Andor wrote: >>why is the difference in the properties of the files when it the same >>SONG.Also tell me which one should i keep.which is better.when u play >>the files then they sound identical .Please help . > > > The higher the bit rate, the better it sounds. There's probably a mistake somewhere. Files with higher bit rates are larger. In this case, it appears to be t... <br><br><a href=/comp.soft-sys.matlab/constant-bit-rate/1000274> <b> constant bit rate </b> </a><br> I am trying to calculate the constant bit rate for the image, so please let me know how to do this... ... <br><br></div><div id=ad3></div></div></div></div><div id=divSimilarExternal><div class=row><div class="col-md-0 col-lg-2"></div><div class="col-md-8 col-lg-6"><img src=/img/!.png><b class=a2> Web resources about - Bit Error Rate Calculation - comp.soft-sys.matlab </b><br><br><div style="overflow: auto"class=well><div class=row><a href=http://en.wikipedia.org/wiki/Calculating> <b> Calculation - Wikipedia, the free encyclopedia </b> </a><br> A calculation is a deliberate process that transforms one or more inputs into one or more results, with variable change. The term is used in ...</div><br><div class=row><a href=http://www.insidefacebook.com/2012/03/29/facebook-to-adjust-calculations-for-total-check-ins-displayed-on-place-pages/> <img class=pull-left src=http://www.insidefacebook.com/wp-content/uploads/2012/03/Screen-Shot-2012-03-28-at-4.42.34-PM.png width=100> <b> Facebook to adjust calculations for total check-ins displayed on place pages </b> </a><br> Facebook says it will change how check-ins are calculated so that place pages more accurately reflect how many people visited a location. According ...</div><br><div class=row><a href=https://itunes.apple.com/us/app/boozed-widget-for-easy-blood/id949840803?mt=8> <img class=pull-left src=http://a3.mzstatic.com/us/r30/Purple3/v4/13/79/f6/1379f61a-66f1-6555-2f28-c1fd28f8f574/icon320x320.png width=100> <b> Boozed? Widget for easy blood alcohol calculations on the App Store on iTunes </b> </a><br> Get Boozed? Widget for easy blood alcohol calculations on the App Store. See screenshots and ratings, and read customer reviews.</div><br><div class=row><a href=http://www.canberratimes.com.au/rugby-league/league-news/canterbury-bulldogs-prop-david-klemmer-bolts-into-kangaroos-calculations-20141026-11c0yc.html> <img class=pull-left src=http://www.canberratimes.com.au/content/dam/images/1/1/c/6/k/b/image.imgtype.thumbnail.320x214.png/1414318084565.jpg width=100> <b> Canterbury Bulldogs prop David Klemmer bolts into Kangaroos calculations </b> </a><br> Canterbury giant David Klemmer is set to be handed a Test debut as the Kangaroos look to bolster their depleted forward stocks but the Australians ...</div><br><div class=row><a href=http://www.smh.com.au/comment/bronwyn-bishops-survival-depends-on-tony-abbotts-calculations-20150720-gigatt.html> <img class=pull-left src=http://www.smh.com.au/content/dam/images/g/i/f/k/e/1/image.related.articleLeadwide.620x349.gigatt.png/1437379986739.jpg width=100> <b> Bronwyn Bishop's survival depends on Tony Abbott's calculations </b> </a><br> Some of her own colleagues would like Bronwyn Bishop out. I know how that feels; it happened to me.</div><br><div class=row><a href=http://www.theage.com.au/national/education/by-any-calculation-melbourne-kid-alex-gunning-was-no-1-at-world-maths-olympiad-20140717-zu31r.html> <img class=pull-left src=http://images.theage.com.au/2014/07/17/5604218/1405598384997.jpg.jpg width=100> <b> By any calculation Melbourne kid Alex Gunning was No. 1 at world maths Olympiad </b> </a><br> When you calculate the sheer maths of the challenge confronting him last week, the odds of Alex Gunning finishing on top were almost unfathomable. ...</div><br><div class=row><a href=http://www.watoday.com.au/rugby-league/league-match-report/tricolours-show-true-colours-to-surge-into-calculations-20130513-2jigy.html> <img class=pull-left src=http://images.watoday.com.au/2013/05/13/4269649/RS-20130513210055982064.jpg width=100> <b> Tricolours show true colours to surge into calculations </b> </a><br> Let it now be official. Sydney Roosters have a serious scalp. Having won on Monday night against Manly under trying circumstances - at Brookvale ...</div><br><div class=row><a href=http://english.peopledaily.com.cn/90780/8584155.html> <b> Commentary: Manila's wrong calculation </b> </a><br> Commentary: Manila's wrong calculation People's Daily Online Links. Global TimesChinadaily.com.cn Ecns.cn Show ChinaChina Human RightsChina ...</div><br><div class=row><a href=http://www.adweek.com/socialtimes/4-recommendations-and-1-calculation-to-improve-social-media-engagement/622959> <img class=pull-left src=http://www.adweek.com/socialtimes/wp-content/uploads/sites/2/2015/07/image001.jpg width=100> <b> 4 Recommendations (and 1 Calculation) to Improve Social Media Engagement </b> </a><br> Marketers often have a spectrum of goals for their Facebook pages. From growing awareness to converting Fans into email subscribers, many marketers ...</div><br><div class=row><a href=http://www.aljazeera.com/indepth/opinion/2015/09/cameron-refugee-calculation-150910072122254.html> <img class=pull-left src=http://www.aljazeera.com/mritems/Images/2015/9/10/ba152b6576a84d56a5508765156d1af1_18.jpg width=100> <b> Cameron's refugee calculation </b> </a><br> The UK pledged to admit more refugees in the country, but it is not enough.</div><br><div class=text-center style=font-size:small>Resources last updated: 3/30/2016 8:21:22 PM</div></div></div></div></div></div><footer><div class=rlt-footer-default><div class="rtl-container-fixed-center text-center"><a href="javascript:OpenModal('/ifr/contact', 475, 300)"class=a2> feedback </a> | <a class=a2 href=/site~privacy> privacy policy </a> | <span class=a2> All Times Are GMT(UTC) </span></div></div></footer><script src=//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js></script><script src=/bundles/bootstrapjs?v=2Fz3B0iizV2NnnamQFrx-NbYJNTFeBJ2GM05SilbtQU1></script><script src=/bundles/menujs?v=sYkte-rP937TJGqV8dUKxWWx-neRhlNRKGng-En9k0s1></script><script src=/js/main.js></script><script src=/js/article?v=PIbsuMZ-LzPoAVdMyKoFSjrFzFr4NXVx8FbijETRLVE1></script><link href=/scripts/isloading/isloading.css rel=Stylesheet><script src=/scripts/isloading/jquery.isloading.min.js></script><script>var switchTo5x = true;</script><script src=http://w.sharethis.com/button/buttons.js></script><script>stLight.options({ publisher: "8539d792-b932-4ef1-91d2-9d14e7aded8d", doNotHash: false, doNotCopy: false, hashAddressBar: false });</script><script>var clicky_site_ids = clicky_site_ids || [];
clicky_site_ids.push(191998);
(function() {
  var s = document.createElement('script');
  s.type = 'text/javascript';
  s.async = true;
  s.src = '//static.getclicky.com/js';
  ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
})();</script><script>setupAds();</script><script>var p="http",d="static";if(document.location.protocol=="https:"){p+="s";d="engine";}var z=document.createElement("script");z.type="text/javascript";z.async=true;z.src=p+"://"+d+".adzerk.net/ados.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(z,s);</script><script>var ados = ados || {};
          ados.run = ados.run || [];
          ados.run.push(function() { 
   
          ados_add_placement(2072, 17356, "azk25862", 5);
          ados_add_placement(2072, 17356, "azk26003", 5);
          ados_add_placement(2072, 17356, "azk50008", 5);
          ados_add_placement(2072, 17356, "azk15916", 5);
 	ados_add_placement(2072, 17356, "azk27218", 5);
          ados_add_placement(2072, 17356, "azk34159", 5);
          ados_add_placement(2072, 17356, "azk24097", 5);
          ados_load();
          });</script><script>$('#PageSpeed').html('0.004 - ')</script>