How to use histcn (histogram) in my matlab scipt.

6 views (last 30 days)
xlabel('A');
ylabel('B');
title ('FEM 2D graphing A vs. B')
  1 Comment
Image Analyst
Image Analyst on 26 Jul 2014
That edit makes no sense. Why did you remove your original question???

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 23 Jul 2014
You don't put this line in your main (calling) function:
function [count edges mid loc] = histcn(X, varargin)
You put that in the function where you declare the function and say what exactly it does. In your main (calling) function you just want to call it like this:
[count, edges, mid, loc] = histcn(X);

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!