How to create an array from an existing array and a table.
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
Dyuman Joshi
2023-11-6
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?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!