My text is of the form a='1233.44,56,78,Earth'. Now i want b=1233.44,56,78 and c=Earth. how can i do that?
No products are associated with this question.
Direct link to this answer:
lastc = find(a == ',', 1, 'last');
b = a(1:lastc-1);
c = a(lastc+1:end);
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select Netherlands from the following list:
See all countries