Conversion del graficador Fractal de Mandelbrot de Matlab

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #109445 quote
    beazacarbeazacar
    Participant
    New

    Buenas noches

    ¿Alguien tiene un archivo .itf con el Fractal de Mandelbrot para poder importarlo a mi cuenta de Prorealtime? ¿O sabeis dónde puedo conseguirlo? Tengo un código hecho con Matlab pero no me funciona.

    Gracias

    iteraciones=20;
    
    %numero de puntos por graficar
    m=800;
    
    % límites de la gráficación
    x_max = -0.75;
    x_min = - 1.5;
    y_max = 0.5;
    y_min = - 0.5;
    
    % se crean la matriz de puntos por graficar
    x=linspace(x_min,x_max,m);
    y=linspace(y_min,y_max,m);
    [X,Y]=meshgrid(x,y);
    
    %se crea las variables complejas
    Z=zeros(m);
    C=X+i*Y;
    
    % se realiza Z = Z^2 + C
    for k=1:iteraciones;
    Z=Z.^2+C;
    end
    
    % Funcion de escape, usada para colorear
    W=exp(-abs(Z));
    
    %graficación
    figure;
    colormap copper(256);
    pcolor(W);
    shading flat;
    axis('square','equal','off');
    #109466 quote
    NicolasNicolas
    Keymaster
    Legend

    No publiques dos veces, fusioné los 2 temas. ¿Podría agregar imágenes de cómo se verían los valores devueltos?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Conversion del graficador Fractal de Mandelbrot de Matlab


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
beazacar @beazacar Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
6 years, 12 months ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 10/06/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...