Menu

[Solved]Need C Matlab Python Code Takes Data Excel File 23 Different Transition States Make State Q37083406

Need a C++ MatLab or Python code

that takes data from an excel file that has 23 differenttransition states, to make a state change (23×23) transitionmatrix

for example: red,red, red, blue, red,red, blue

Red to Red reads as —>((1+1)+(1) )/7 as the first point onRow 1 Col 1 etc this reads across 8818 data points for all possibletransitions across the 23 states to create the 23×23 matrix in noparticular order

i have attached the different states below

i’m kind of new to coding so this was my approach but it failedmiserably

: : File Edit View Project Build Debug Test Analyze Tools Extensions Window Help Search Visual Studio (Ctri+Q) P ▼ぐ. Debug ▼

Weather Condition Mostly Cloudy Overcast Scattered Clouds Partly Cloudy Clear Light Drizzle Light Rain Rain Heavy Rain Fog Li

: : File Edit View Project Build Debug Test Analyze Tools Extensions Window Help Search Visual Studio (Ctri+Q) P ▼ぐ. Debug ▼ x86 Local Windows Debugger Auto Solution Explo.. ▼ 피 x code version 2.cpp X ,, Miscellaneous Files (Global Scope) Search Solution Exp ρ· Solution ‘POR PROJEC POR PROJECT CC count++ 44 else if Ipreviousline.empty )) fout << previousline <<“<count << endl; if (previousline”Mostly Cloudy) DReferences 50 External Deper Resource Files d Source.cpp 51 HC += count; Header Files :else if (previousline “overcast”) 53 54 o count; 掏Source Files :else if (previousline “Partly Cloudy” P count; else if (previousline “Clear”) 61 62 Ccount; else if (previousline “Light Drizzle”) LD += count; else if (previousline SC + Count; 67 68 “Scattered Clouds”) else if (previousline”Fog”) 73 F count; 75 76 else if (previousline “Light Rain”) 78 79 8e 81 LR + count; else if (previousline”Rain”) No issues found 68 % ▼ Debug Show output from: PUR PROJECT CODt.exe (Win32): Loaded C: windows SysWOW64cryptbase.dil. POR PROJECT CODE.exe (Win32): Loaded C: WindowsSysWOW64bcryptprimitives.dl1 POR PROJECT CODE.exe (Win32): Loaded C: windows SysWOW64 1sechost.dll. The thread 0xc924 has exited with code 0 (0x0). The thread 0x4b88 has exited with code 0 (0x0) The program [58444] POR PROJECT CODE.exe has exited with code 0 (0xe) Output Error List Weather Condition Mostly Cloudy Overcast Scattered Clouds Partly Cloudy Clear Light Drizzle Light Rain Rain Heavy Rain Fog Light Snow Snow Heavy Snow Blowing Snow Shallow Fog Light Thunderstorms and Rain Unknown Mist Haze Heavy Thunderstorms and Rain Thunderstorm Thunderstorms and Rain Light Freezing Rain Show transcribed image text : : File Edit View Project Build Debug Test Analyze Tools Extensions Window Help Search Visual Studio (Ctri+Q) P ▼ぐ. Debug ▼ x86 Local Windows Debugger Auto Solution Explo.. ▼ 피 x code version 2.cpp X ,, Miscellaneous Files (Global Scope) Search Solution Exp ρ· Solution ‘POR PROJEC POR PROJECT CC count++ 44 else if Ipreviousline.empty )) fout

Expert Answer


Answer to Need a C++ MatLab or Python code that takes data from an excel file that has 23 different transition states, to make a s… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *