How to create an array from an existing array and a table.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Dyuman Joshi
le 6 Nov 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?
Réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!