Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

Vibhash Jha

@Vibhash Jha
About
Posts
10
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • using matlab code in vb environment
    V Vibhash Jha

    trapz gives the numerical result using trapezoidal method.. in your case. if s are functions of x.. it will be give you a range of values.. is this what you are looking for?? exmaple x = [0:pi/100:pi] what is essentially ( 0,pi/100,2pi/100,.....pi) y = sin(x) trapz(x,y) integrate y wrt x ang gives u a single value..but if y itself is aset of numbers.. i think output itself will be a set og umbers.. i think u can check this with a small example.. Are you trying to evaluate some double integration kind of thing???

    COM help question workspace

  • using matlab code in vb environment
    V Vibhash Jha

    i think i understand u little.. but still i would like to have some snapshots and clear picture from beginning.. that would help me to understand better..

    COM help question workspace

  • using matlab code in vb environment
    V Vibhash Jha

    I have understood the problem.. i think you cudn't understand my argument.. I will try explaining again.. Suppose f(x) = (1/2 + cos(x) ) int(f,x) = x/2 +sin(x) .. it has a indefinite integral solution.. but say if f(x) = sqrt(1/3 + log(sin(x^(1/3))) int(f,x) will show error .. as it is not possible for the integral to solve indefinitely. In this case , we have to go to numerical integration.. so, we have to try double(int(f,x,lb,ub)) double --> for numerical integration lb,ub - >lower and upper bounds.. in this case you will get a definite solution.. I think your function is also too complex which can't be solved definitely.. so you have to numerical integration.. there is no other choice.. can you tell me the upper and lower bounds in which you want to integrate the functions??? may be i can help you.. i could i have given you the results but currently i don't have MATLAB installed in my PC... i think i am clear now.. cheers vibhash B'lore, INDIA

    COM help question workspace

  • using matlab code in vb environment
    V Vibhash Jha

    ya thta's true.. it is not always possible for the matlab kernel to find the explicit integral.. there can be many posiblities.. 1) try subsituting the values of the constants(like r,h...) used in your function. 2) or you have to provide range of the integration like int(f,start,end) 3) if still it doens't work , may be you have to go for numerical integration.. try quad.. or simply double(int(f,start,end))..(internally double does the numerical integration for you..) it's possibly that if you provide the same function in MATCAD/mathematica , you will get a solution as it internally does the numeraical integration(ofcourse range has to be provided..) cheers vibhash B'lore,INDIA

    COM help question workspace

  • Wanted: C/C++ programmers in Ottawa, On, Canada
    V Vibhash Jha

    is this position open for ppl ouside canada even??

    Work Issues c++ question career

  • using matlab code in vb environment
    V Vibhash Jha

    I will give u a wild advice which you may not like but worked for me many of the time.. just for the sake of completing your project.. 1)You can create a output file based on MATLAB numerical datas and try to read that file In VB..only one basic problem.. if ur num datas are too dynamic.. ur refresh rate thru VB code should be fast enough to give u the desired behaviour.. may be u have the compromise in performnace but still works.. 2) i am not sure but i do think there will be OCX controls provided by MATLAB (u can serach in VB toolbars) to import its GUI in ur VB forms.. in that case i think ur life will be pretty easy but still u have to juggle ur head to understand the new APIs.. if u can take this much pain.. the i think it will perfectly okay..it will help you in future projects even.. 3) copying ur formualtions is not a gud ideas as VB will trim ur calcualtions datas to a large extent and u will get roudoff erro.s so better leave these calculation part to MATLAB (they have much sophisticated algorithms to support this).. but if u think that u can work without much accuracy.. u can apply this technique too..but again not advisable.. cheers vibhash Bangalore,INDIA

    COM help question workspace

  • using matlab code in vb environment
    V Vibhash Jha

    i thnik matlab has GUI toolbox exactly like VB(i mena textbook,dialog ,etc.) . So why do want it to convert it to VB forms?? tell me if I cudn't understand U?? cheers vibhash

    COM help question workspace

  • Closing an Application
    V Vibhash Jha

    i don't understand the problem exactly.. but what i assume..framewindow is a part of application and is at less level in the hierarchy.. so when u r releasing application pointer.. CFrameWnd::OnClose() doesn't make much sense practically..try doing this before..u release application pointer... may be the problem is bcoz of that.. otheriwise i need some more info..>>> cheers vibhash bangalore

    COM csharp help c++ com sysadmin

  • ATL Exe server..
    V Vibhash Jha

    what's the exact error and where??? may be CLSID_TempObj --> CLSID_ITempObj cheers vibhash

    COM c++ sysadmin help

  • GetRecordInfoFromGUID returns 0x80029C4A
    V Vibhash Jha

    just a guess.. i have always seen iid name to be seen as class name.. RGBValue_struct_IID inplace of RGBValue_IID ....in ::GetRecordInfoFromGuids(LIBID_AugSvrLib, 1,0,0,RGBValue_IID, &pUDTRecordInfo); if still problem persists ...need more info .. >>>> cheers vibhash

    COM help c++ com sysadmin announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups