flushleft.m
来自「JLAB is a set of Matlab functions I have」· M 代码 · 共 19 行
M
19 行
function[x]=flushleft(x)%FLUSHLEFT Makes a blank-padded string matrix flush on the left% _________________________________________________________________% This is part of JLAB --- type 'help jlab' for more information % (C) 2002--2006 J.M. Lilly --- type 'help jlab_license' for details % Find orientationif strcmp(x,'--t') returnendfor i=1:size(x,1) index=min(find(real(x(i,:))~=real(' '))); if ~isempty(index) x(i,:)=vshift(x(i,:),index-1,2); endend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?