How to find the derivative without using a symbolic function in Matlab?

Is there a way to find Palindromes in Matlab without using the fliplr(x) function?

  • I want to write a function in Matlab to find out if a word is a Palindrome without using the fliplr(x) function.

  • Answer:

    i don't know Matlab, but i'll write it in psuedocode. a palindrome is a word that is the same as it's reverse. so reverse a string as follows: String backwards : = the empty string (probably "" or '' or something) for i=0 to length of the string do: backwards = character at location i of the old string + backwards (puts the new character in front of the rest of the word) end for compare backwards to the old string.

Jasmon Scott at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Of course there's a way to find palindromes without using the fliplr(x) function. You need to learn to use indices. a = 'hello, Dolly!' a(end : -1 : 1)

jjasso5

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.