How to create an array from an existing array and a table.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I've got a 4D array which contains the internal diameters of some bearings. I want to create a 4D array for the width of some lock nuts, I have a table of data for the locknuts and my intention was to create this array by going through my bearing array and finding the width of the locknut for that specific internal diamter of bearing. There are locknuts for every internal diameter of bearings, with the exception of certain elements of the array that have the internal diameter set to 0. Any help would be really appreciated, currently very stuck.
2 comentarios
Dyuman Joshi
el 6 de Nov. de 2023
If I understand your question correctly, the approach seems to be comparing the data and use indexing. Fairly simple.
"my intention was to create this array by going through my bearing array and finding the width of the locknut for that specific internal diamter of bearing."
What have you implemented yet?
What is the data in the table?
What does the data in the 4D array represent? Individual values of internal diameters or something else?
Respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!