MATLAB Answers

How can I first show my cell array (long sequence), then show a short sequence as bolded (highlighted) over a textarea or figure in app designer?

1 ビュー (過去 30 日間)
Mohammad Shahbazy
Mohammad Shahbazy 2021 年 7 月 22 日
編集済み: Mohammad Shahbazy 2021 年 7 月 23 日
Dear all,
I want to first show my cell array (seqA: long sequence), then show the short sequence (seqB as it has been matched to be subset of A) as bolded (highlighted) over a textarea or figure in app designer to show something like this: SequeSeqBnceA.
Many thanks in advance,
MS
SeqA = {' 1 MDTGDTALGQ KATSRSGETD KASGRWRQEQ SAVIKMSTFG SHEGQRQPQI'}
{' 51 EPEQIGNTAS AQLFGSGKLA SPSEVVQQVA EKQYPPHRPS PYSCQHSLSF'}
{' 101 PQHSLPQGVM HSTKPHQSLE GPPWLFPGPL PSVASEDLFP FPIHGHSGGY'}
{' 151 PRKKISSLNP AYSQYSQKSI EQAEEAHKKE HKPKKPGKYI CPYCSRACAK'}
{' 201 PSVLKKHIRS HTGERPYPCI PCGFSFKTKS NLYKHRKSHA HAIKAGLVPF'}
{' 251 TESAVSKLDL EAGFIDVEAE IHSDGEQSTD TDEESSLFAE ASDKMSPGPP'}
{' 301 IPLDIASRGG YHGSLEESLG GPMKVPILII PKSGIPLPNE SSQYIGPDML'}
{' 351 PNPSLNTKAD DSHTVKQKLA LRLSEKKGQD SEPSLNLLSP HSKGSTDSGY'}
{' 401 FSRSESAEQQ ISPPNTNAKS YEEIIFGKYC RLSPRNALSV TTTSQERAAM'}
{' 451 GRKGIMEPLP HVNTRLDVKM FEDPVSQLIP SKGDVDPSQT SMLKSTKFNS'}
{' 501 ESRQPQIIPS SIRNEGKLYP ANFQGSNPVL LEAPVDSSPL IRSNSVPTSS'}
{' 551 ATNLTIPPSL RGSHSFDERM TGSDDVFYPG TVGIPPQRML RRQAAFELPS'}
{' 601 VQEGHVEVEH HGRMLKGISS SSLKEKKLSP GDRVGYDYDV CRKPYKKWED'}
{' 651 SETPKQNYRD ISCLSSLKHG GEYFMDPVVP LQGVPSMFGT TCENRKRRKE'}
{' 701 KSVGDEEDTP MICSSIVSTP VGIMASDYDP KLQMQEGVRS GFAMAGHENL'}
{' 751 SHGHTERFDP CRPQLQPGSP SLVSEESPSA IDSDKMSDLG GRKPPGNVIS'}
{' 801 VIQHTNSLSR PNSFERSESA ELVACTQDKA PSPSETCDSE ISEAPVSPEW'};
SeqB = {'FEDPVSQLIP'};

回答 (0 件)

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by