Community Profile

Venn Ravichandran


The Rehabilitation Institute of Chicago

14 total contributions since 2010

Contact

Contributions in
View by

Answered
why " if " condition of expression is tenable , but it cant do the statement ?
Use: if abs(a-b) <= eps % my operations here end Floating point comparisons can cause such errors, since you w...

4 years ago | 0

Answered
Shade between time series lines (log-y scale)
Using stem plot might be a quick work around. I don't know why the area plots don't work.

5 years ago | 0

Answered
how to give variable inputs in coding
Ambika, I'm not sure I follow your question. Are you asking how to limit the range of the inputs or how to define a function ...

5 years ago | 0

| accepted

Answered
Using markers for data, lines for simulations
You have several sets of "sim" and "data" variable and you want to plot lines for sim and markers for data, right? There are at...

5 years ago | 0

Answered
How to do a section plot- 2D discrete graphs and Z in colorbar
Can you use scatter(x,y,r,z), where r is an integer representing the size of the markers? You could also use patch to plot x ...

5 years ago | 0

Answered
Plotting two series of dicreet points with errorbars (std. dev.) on Y and X
Have you tried errorbarbar, barweb, or barerrorbar along with a line command to get your error bar along the x-axis?

5 years ago | 0

Responded


Re: Compiling MCR C++ dll with VS2010
Simon, Not in yvals.h... it should be in your own source code. Let us say you have two files with the same name. To store them...

5 years ago | 27987 views

Submitted


Bar with errorbars
This code plots bars with errorbars, as simple as that.

5 years ago | 23 downloads |

Thumbnail

Submitted


Horizontal lines
Adds horizontal lines to the current plot

5 years ago | 1 downloads |

Thumbnail

Submitted


Vertical Lines
Adds vertical lines to the current plot.

5 years ago | 3 downloads |

Thumbnail

Responded


Re: Compiling MCR C++ dll with VS2010
The namespace one works for me. Let me know if I can help. -Venn

6 years ago | 27987 views

Responded


Re: Compiling MCR C++ dll with VS2010
The reason you are getting a conflict is because, as Fifo found out, the matrix.h redefines the function that is in yvals.h. Wha...

6 years ago | 27987 views

Responded


Re: Compiling MCR C++ dll with VS2010
Hello, I figured out how to get rid of the problem by using namespaces. I placed #include <matrix.h> inside its own namespace ...

6 years ago | 27987 views

Responded


Re: Compiling MCR C++ dll with VS2010
Hello, I have the same problem too. I am using VS2010 with MATLAB 2008b. Here is the exact error message: c:\program files\matl...

6 years ago | 27987 views