« first day    last day (3213 days later) » 

8:42 AM
@rayryeng Yeah, thats the way to go (it was so obvious I couldn't see it!)
 
 
7 hours later…
4:10 PM
Happy Canada Day! It's currently a holiday here.
@AnderBiguri - How much faster is the vector unrolling compared to squeeze?
 
4:32 PM
@rayryeng Happy Canada day then! Vector unrolling is 80 times faster! YaY!
` a=ones(1,1,1000);
tic
for ii=1:100000
b=squeeze(a);
end
time1=toc;

tic
for ii=1:100000
b=a(:);
end
time2=toc;

display(['squeeze is ', num2str(time1/time2), ' times slower'])`
 
4:46 PM
hi
 
Hi there
 
i have a ques
 
Well, If it is a proper stackoverlfow question, open a new one! else, go, try us ;)
 
aham
 
4:50 PM
i am having a lot of issues with dynamic structures in mat lab code want to convert them to c but c coder is not accepting
 
ask a new question
@AnderBiguri - Very nice! Glad to hear it's faster!
 
Yeah. C does not accept Dynamic structures. There is nothing you can do about it.
 
and thanks :)
 
@rayryeng Yeah! I was expecting speedup, but not 80!
 
are there any alternatives?
 
4:52 PM
rewrite your code so it doesnt use dynamic structures.
 
i cant ask a ques stack overflow has blocked me i have reached my question limit :(
 
? I didnt know that could happen.
 
hmmm
 
47
Q: Is there a limit on how many questions I can ask?

user130657Is there a limit on how many questions I can ask per day? Per hour? Per other time unit? Related Questions: Limitation on submitting a question, is it an explicit request to create a new account? Let's have 150 question cap in 3 months instead of current 50 question cap every month Please warn...

 
it always happens with me in this forumn
 
4:54 PM
Yeah there is, but you dont seem to have that many question
 
hmmm
i know
 
80x eh? wow lol
Dynamic structures I didn't know the MATLAB coder couldn't accept them... but it makes perfect sense.
 
Yeah, its just C doesnt like them (ofcourse)
 
@user3371423 - You don't know how many fields you have for your structure before hand eh?
 
5:28 PM
yes i know
@rayryeng this is the ques that i asked last week on stack over flow u can also see the full code i am trying to convert below i the ques stackoverflow.com/questions/30817377/…
@rayryeng I am not an expert in Matlab in programming i only want to convert my maltab unction to c so that i can use the source code generated in opencv to implement it in real time.If u can just suggst some changes then i can do it and then return back here to ask if i have some more doubts
 

« first day    last day (3213 days later) »