How to create an array from an existing array and a table.
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Dyuman Joshi
am 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?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!