Gistlib Logo

gistlib

how to print ght in matlab

Assuming you want to print the string "ght" in MATLAB, you can simply use the disp() or fprintf() function as follows:

main.m
disp('ght');

%or

fprintf('ght\n');
37 chars
6 lines

The output will be:

main.m
ght
4 chars
2 lines

similar matlab code snippets

how to calculate the 99th percentile in matlab
how to calculate cumulative distribution function in matlab
how to calculate the binomial distribution in matlab
how to perform a ztest in matlab
how to plot the binomial distribution in matlab
how to calculate the normal distribution in matlab
calculate the area of a triangle in matlab
calculate the area of a sphere in matlab
find the slope of a set of points in matlab
calculate the volume of a pyramid in matlab

related categories

matlab

gistlibby LogSnag