Convert symbolic equation to 6x5 double array (Question simplified)

  • Thread starter Thread starter sgvaibhav
  • Start date Start date
  • Tags Tags
    Array Convert
Click For Summary
SUMMARY

The discussion focuses on converting complex symbolic equations stored in memory into a 6x5 double array format using MATLAB. The equations involve variables x and y, defined as x=5:5:30 and y=1100:100:1500. The user seeks assistance in implementing this conversion efficiently, given the substantial memory requirements. It is suggested that for professional applications, utilizing a supercomputer may be necessary due to the computational intensity of the task.

PREREQUISITES
  • Familiarity with MATLAB syntax and array manipulation
  • Understanding of symbolic mathematics and equation representation
  • Knowledge of memory management in high-performance computing
  • Experience with numerical methods for evaluating complex equations
NEXT STEPS
  • Research MATLAB's symbolic toolbox for equation manipulation
  • Learn about MATLAB array indexing and reshaping techniques
  • Explore memory optimization strategies in MATLAB for large computations
  • Investigate supercomputing resources and their integration with MATLAB
USEFUL FOR

Mathematical modelers, MATLAB programmers, and researchers involved in high-performance computing who need to convert symbolic equations into numerical formats for analysis.

sgvaibhav
Messages
65
Reaction score
0
Hi.

I perform huge computations worth 70 lines. After those 70 lines, i have these equations in my internal memory.

Code:
    %(stored internally) Wnet=(99*((57443*((4018*y*(66875/(57036*x))^(2528214091580831/18014398509481984))/5 - (57443*y)/50 + (2894969*x^(200/623))/50))/(50*((57443*y)/50 - 41160000)) + 57443/50)*(y - y*(66875/(57036*x))^(2528214091580831/18014398509481984)))/100 + (99*(y - y*(66875/(57036*x))^(2528214091580831/18014398509481984))*((57443*((4018*y*(66875/(57036*x))^(2528214091580831/18014398509481984))/5 - (57443*y)/50 + (2894969*x^(200/623))/50))/(50*((57443*y)/50 - 41160000)) - (57443*((57443*y)/50 - (57443*y*(66875/(57036*x))^(2528214091580831/18014398509481984))/50))/(50*((57443*y)/50 - 41160000)) + 57443/50))/100 - (2894969*x^(200/623))/10 + 2894969/10;
    %(stored internally) SFC=-(((57443.*y)./50 - (57443.*y.*(66875./(57036.*x)).^(2528214091580831./18014398509481984))./50)./((57443.*y)./50 - 41160000) - ((4018.*y.*(66875./(57036.*x)).^(2528214091580831./18014398509481984))./5 - (57443.*y)./50 + (2894969.*x.^(200./623))./50)./((57443.*y)./50 - 41160000))./((99.*((57443.*((4018.*y.*(66875./(57036.*x)).^(2528214091580831./18014398509481984))./5 - (57443.*y)./50 + (2894969.*x.^(200./623))./50))./(50.*((57443.*y)./50 - 41160000)) + 57443./50).*(y - y.*(66875./(57036.*x)).^(2528214091580831./18014398509481984)))./100 + (99.*(y - y.*(66875./(57036.*x)).^(2528214091580831./18014398509481984)).*((57443.*((4018.*y.*(66875./(57036.*x)).^(2528214091580831./18014398509481984))./5 - (57443.*y)./50 + (2894969.*x.^(200./623))./50))./(50.*((57443.*y)./50 - 41160000)) - (57443.*((57443.*y)./50 - (57443.*y.*(66875./(57036.*x)).^(2528214091580831./18014398509481984))./50))./(50.*((57443.*y)./50 - 41160000)) + 57443./50))./100 - (2894969.*x.^(200./623))./10 + 2894969./10);
How do i convert this huge symbolic equation to a 6x5 double array where
Code:
x=5:5:30; 
y=1100:100:1500;

Help me please =)

If you are still confused with the question, let me know, i will try to clarify it more, or i will paste the entire script.
 
Physics news on Phys.org
This would require huge memory resource. If this is professional work, I would recommend taking help from any institute that houses a supercomputer.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 26 ·
Replies
26
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K