photo

champions2015


Attivo dal 2017

Followers: 0   Following: 0

Statistica

MATLAB Answers

7 Domande
1 Risposta

RANK
98.569
of 300.364

REPUTAZIONE
0

CONTRIBUTI
7 Domande
1 Risposta

ACCETTAZIONE DELLE RISPOSTE
85.71%

VOTI RICEVUTI
0

RANK
 of 20.934

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 168.407

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Thankful Level 3
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


Whenever I run this function, all is good if A(i)==N. However when it is not found, the function seems to run super slowly that i never end up getting the output of 0. Do I need to preallocate somewhere? If so, what would it be?
"Write a function, Finder, that receives an array of numbers A and a number N and returns the position of N within the array A o...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


In this question, would dig be 2 inputs, such as 91 and 99? And lim can be any number the user calls?
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

circa 8 anni fa | 4 risposte | 0

4

risposte

Domanda


For the second part of the question, I keep on getting the following error. I am assuming this is because I need to somehow create a cell inside the cell corresponding to Out? What would be the simplest way of doing this?
An n-by-n square logical matrix can be represented by a cell vector of n elements where the kth element corresponds to the kth r...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


whenver i insert this if statement inside a for loop, i get an error. Could someone please explain why? Much appreciated!
if class(input(i))=='double' in this case, i want to check if the value of input(i) in the string 'input' is a number &nbs...

circa 8 anni fa | 3 risposte | 0

3

risposte

Domanda


An n-by-n square logical matrix can be represented by a cell vector of n elements where the kth element corresponds to the kth row of the matrix. Each element of the cell vector is a row vector of positive integers in increasing order representing th
I don't exactly understand what the question is asking here, despite reading it over and over multiple times. Is the input the n...

circa 8 anni fa | 2 risposte | 0

2

risposte

Domanda


Write a function called spiral_diag_sum that takes an odd positive integer n as an input and computes the sum of all the elements in the two diagonals of the n-by-n spiral matrix.
function [ MySum ] = spiral_diag_sum( n ) MySum=1; if n==1 return end for i=3:2:n mult...

circa 8 anni fa | 4 risposte | 0

4

risposte