how to give value stress from excel give color in my mesh

2 visualizaciones (últimos 30 días)

Respuesta aceptada

KSSV
KSSV el 22 de Jun. de 2022
  9 comentarios
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting el 23 de Jun. de 2022
hi sir i get my want. but how to get element 10x10? because i see element not 10x10. and how to change axis to range 0-100 in x and y. thank you sir
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting el 23 de Jun. de 2022
value stress in middle of element sir so i want value stress in element not in nodes because my teacher say stress in element not in nodes

Iniciar sesión para comentar.

Más respuestas (1)

Hiro Yoshino
Hiro Yoshino el 22 de Jun. de 2022
Not sure what you want to do exactly but it seems this is an application of mesh function.
As you can see (click the link), you can specify the color with the fourth argument (CO) of the function:
[X,Y,Z] = peaks(25);
CO(:,:,1) = zeros(25); % red
CO(:,:,2) = ones(25).*linspace(0.5,0.6,25); % green
CO(:,:,3) = ones(25).*linspace(0,1,25); % blue
mesh(X,Y,Z,CO)

Categorías

Más información sobre Stress and Strain en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by