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 4 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...
5 years ago
5 years ago
The namespace one works for me. Let me know if I can help. -Venn
6 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 5 years ago
Have you tried errorbarbar, barweb, or barerrorbar along with a line command to get your error bar along the x-axis?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries