photo

Aditi


Last seen: 2 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


is there way to convert this python code to matlab code? how can i convert python code to matlab? this is the code that I want to convert:
import numpy as np from matplotlib import pyplot as plt from scipy.misc import derivative as drv from scipy.integrate impo...

2 months ago | 1 answer | 0

1

answer

Question


i have a txt file with 'temp' and 'heat flux' and i need to use it to calculate final temp and optimum emissivity. my code runs fine but the output file is coming out blank?
C1 = 3.74177e8; C2 = 1.43878e4; sig = 5.67e-8; T_static = 229.58; Tval = fopen('radiative boundary.txt', 'r'); Tvalue = fsc...

2 months ago | 0 answers | 0

0

answers

Question


i have made a code which finds a specific value 'no' from the excel sheet but it does the job one by one. i want to automate it so it gives all values with 'no' at once.
this is the code i'm using. data = readtable('FINALconvergencecheck_ksst.xlsx'); data.Properties.VariableNames(1) = "an6cd"; ...

8 months ago | 1 answer | 0

1

answer

Question


i have made an excel sheet which has values in 1st column and 'yes'/'no' in the 2nd. i want to extract values which show 'no' and display it. how can i do that?
this is the code i was using but ts not working. data2=readtable("convergencecheck5.xlsx"); A=table2cell(data2); k=data2{:,2}...

9 months ago | 1 answer | 0

1

answer

Question


i have written a while loop which displays 'yes' or 'no' if the difference is less than 0.5 for a given problem. how can i write this output into an excel sheet.
this is the code i have used. it gives the desired result in the command window but i need it to write the output into an excel ...

9 months ago | 2 answers | 0

2

answers

Question


i need a code to find the mean of a specific column from an excel sheet and find the variation of the mean and actual value and then display 'yes' if the the variation is 0.5.
i used a switch statement but i have a problem in finding the variation. there are almost 2000 iterations. data=readtable("DATA...

9 months ago | 1 answer | 0

1

answer

Question


i have to read an exel file which has iterations and cl/cd/cm and make a loop for plotting subplots for cl/cd/cm vs iteration which has different angle of attacks.
this is the code i am currently using. dataset=readtable('output2''.xlsx'); dataset.Properties.VariableNames(1) = "iteration1"...

9 months ago | 1 answer | 0

1

answer