Sign in

Not a member? | Forgot your Password?

Search matlab

Search tips


Subscribe to matlab

Search tips

Free PDF Downloads

A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

C++ Tutorial

Discussion Groups

FIR Filter Design Software

See Also

Embedded SystemsFPGA

Discussion Groups | Matlab DSP | how to continue matlab strings?

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread



Is this thread worth a thumbs up?

0

how to continue matlab strings? - cxv dfg - Feb 19 12:57:00 2002

Hi,
How do you continue 'Strings' on new line? The normal
matlab statements are continued on new line by putting
three dots (...). But this doesn't work for 'strings'.

can anybody give the solution???

thanks in advance,

Vivek




_____________________________
 Free pdf download: Digital Signal Processor Fundamentals and System Design.




Re: how to continue matlab strings? - Ganesan Thiagarajan - Feb 19 18:08:00 2002

>>>>> "cxv" == cxv dfg <> writes:

cxv> Hi,
cxv> How do you continue 'Strings' on new line? The normal
cxv> matlab statements are continued on new line by putting
cxv> three dots (...). But this doesn't work for 'strings'.

cxv> can anybody give the solution???

Break the string into array of strings. For example,

disp(['blah blah dsjfdj ldsjfdshfd fdshfds blah', ...
'continue the rest of blah blah blah']);

HTH
gana --



_____________________________
 Free pdf download: Complex Digital Signal Processing in Telecommunications.




Re: how to continue matlab strings? - Mark Klein - Feb 19 18:45:00 2002

Hi Vivek,

You'll need to break up the string into segments and
then combine the segments together using the function
STRVCAT.

Try this:

>> a='This';
>> b='is';
>> c='a';
>> d='string.';
>> e=strvcat(a,b,c,d)
e =
This
is
a
string.
>>

-Mark

--- cxv dfg <> wrote:
> Hi,
> How do you continue 'Strings' on new line? The
> normal
> matlab statements are continued on new line by
> putting
> three dots (...). But this doesn't work for
> 'strings'.
>
> can anybody give the solution???
>
> thanks in advance,
>
> Vivek

__________________________________________________



_____________________________
 Free pdf download: Digital Signal Processor Fundamentals and System Design.