automatic calculation for graph spacing

Hi Everyone, I was hoping to get some guidance for this problem attached. here is my current code. I dont know how to specify what the spacings will be, and I am really stuck.
low = 1;
high = 1;
diff = high - low
function [ a b ] = computeGrid(v)
a = start;
b = final;
tics = (diff ./ M) +1
for 1:length(v)
numM >= 5 && numM <= 10
M = c * 10 .^ k;
if c = 1
min(M) = a
elseif c = 2
max(M) = b
else c = 5
end
end
end

3 comentarios

Steven Lord
Steven Lord el 6 de Mzo. de 2017
Please post the problem as text. It's very difficult to read that image.
John Jamison
John Jamison el 7 de Mzo. de 2017
please see the attachment. thanks
John Jamison
John Jamison el 8 de Mzo. de 2017
????

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Desktop en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 6 de Mzo. de 2017

Comentada:

el 8 de Mzo. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by