Top 10% contributor
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 ...
Answered 3 years ago
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...
4 years ago
4 years ago
The namespace one works for me. Let me know if I can help. -Venn
5 years ago
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...
Hello, I figured out how to get rid of the problem by using namespaces. I placed #include <matrix.h> inside its own namespace ...
Hello, I have the same problem too. I am using VS2010 with MATLAB 2008b. Here is the exact error message: c:\program files\matl...
if abs(a-b) <= eps
% my operations here
Floating point comparisons can cause such errors, since you w...
Using stem plot might be a quick work around. I don't know why the area plots don't work.
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...
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 ...
Answered 4 years ago
Have you tried errorbarbar, barweb, or barerrorbar along with a line command to get your error bar along the x-axis?
Join the conversation