Matlab coding incl. "Sum"
Mostrar comentarios más antiguos
Hello guys,
hope anyone of you can help me to write the following Code:

g should be equal to the integer part of

So in the beginning of my Code i would like to define "n" as Input. Thereafter the Code runs and the ouput is R.
Would really appreciate your help! :)
Best Florian
2 comentarios
Star Strider
el 28 de Nov. de 2015
It seems straightforward, although it will likely involve some tedious typing and it looks like a couple nested loops.
Give it a go. If you have problems, post (and format) or attach your code (use the ‘paperclip’ icon and do both the ‘Choose file’ and ‘Attach file’ steps). We will help you to get it running. Comment it to explain what it is doing, and tell us the dimensions of your variables, and also attach them as data if possible (save them as a .mat file and attach it as well with the ‘paperclip’ icon) as a separate attachment.
Florian Fbr
el 29 de Nov. de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!