% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/initialize_U.R
\name{initialize_U}
\alias{initialize_U}
\title{Initialize Membership Matrix}
\usage{
initialize_U(n, k)
}
\arguments{
\item{n}{Integer. Number of observations.}

\item{k}{Integer. Number of clusters.}
}
\value{
A numeric matrix of size n × k representing
initial membership degrees.
}
\description{
Generates an initial fuzzy membership matrix (U)
with random values and normalizes each row so
that memberships sum to 1.
}
\keyword{internal}
