⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 geoandleo.m

📁 建立GEO和LEO的轨道
💻 M
📖 第 1 页 / 共 3 页
字号:
if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction edit7_Callback(hObject, eventdata, handles)% hObject    handle to edit7 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit7 as text%        str2double(get(hObject,'String')) returns contents of edit7 as a double% --- Executes during object creation, after setting all properties.function GEO_Speed_CreateFcn(hObject, eventdata, handles)% hObject    handle to GEO_Speed (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction GEO_Speed_Callback(hObject, eventdata, handles)% hObject    handle to GEO_Speed (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of GEO_Speed as text%        str2double(get(hObject,'String')) returns contents of GEO_Speed as a double% --- Executes during object creation, after setting all properties.function GEO_Angle_CreateFcn(hObject, eventdata, handles)% hObject    handle to GEO_Angle (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction GEO_Angle_Callback(hObject, eventdata, handles)% hObject    handle to GEO_Angle (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of GEO_Angle as text%        str2double(get(hObject,'String')) returns contents of GEO_Angle as a double% --- Executes on button press in GEO_Round.function GEO_Round_Callback(hObject, eventdata, handles)% hObject    handle to GEO_Round (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of GEO_Round
% --- Executes on button press in GEO_Ellipse.function GEO_Ellipse_Callback(hObject, eventdata, handles)% hObject    handle to GEO_Ellipse (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of GEO_Ellipse
% --- Executes during object creation, after setting all properties.function GEO_Radius_CreateFcn(hObject, eventdata, handles)% hObject    handle to GEO_Radius (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction GEO_Radius_Callback(hObject, eventdata, handles)% hObject    handle to GEO_Radius (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of GEO_Radius as text%        str2double(get(hObject,'String')) returns contents of GEO_Radius as a double% --- Executes during object creation, after setting all properties.function GEO_LongAxes_CreateFcn(hObject, eventdata, handles)% hObject    handle to GEO_LongAxes (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction GEO_LongAxes_Callback(hObject, eventdata, handles)% hObject    handle to GEO_LongAxes (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of GEO_LongAxes as text%        str2double(get(hObject,'String')) returns contents of GEO_LongAxes as a double% --- Executes during object creation, after setting all properties.function GEO_ShortAxes_CreateFcn(hObject, eventdata, handles)% hObject    handle to GEO_ShortAxes (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction GEO_ShortAxes_Callback(hObject, eventdata, handles)% hObject    handle to GEO_ShortAxes (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of GEO_ShortAxes as text%        str2double(get(hObject,'String')) returns contents of GEO_ShortAxes as a double% --- Executes on button press in Show_GEO_Versus_LEO_LEO_versus_GEO.function Show_GEO_Versus_LEO_versus_GEO_Callback(hObject, eventdata, handles)% hObject    handle to Show_GEO_Versus_LEO_LEO_versus_GEO (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)


% --- Executes during object creation, after setting all properties.function LEO_T_CreateFcn(hObject, eventdata, handles)% hObject    handle to LEO_T (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction LEO_T_Callback(hObject, eventdata, handles)% hObject    handle to LEO_T (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of LEO_T as text%        str2double(get(hObject,'String')) returns contents of LEO_T as a double% --- Executes during object creation, after setting all properties.function GEO_T_CreateFcn(hObject, eventdata, handles)% hObject    handle to GEO_T (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction GEO_T_Callback(hObject, eventdata, handles)% hObject    handle to GEO_T (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of GEO_T as text%        str2double(get(hObject,'String')) returns contents of GEO_T as a double% --- Executes on button press in ComputeLeoOut.function ComputeLeoOut_Callback(hObject, eventdata, handles)% hObject    handle to ComputeLeoOut (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)
% --- Executes during object creation, after setting all properties.function LEO_Perigee_CreateFcn(hObject, eventdata, handles)% hObject    handle to LEO_Perigee (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction LEO_Perigee_Callback(hObject, eventdata, handles)% hObject    handle to LEO_Perigee (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of LEO_Perigee as text%        str2double(get(hObject,'String')) returns contents of LEO_Perigee as a double% --- Executes during object creation, after setting all properties.function LEO_apogee_CreateFcn(hObject, eventdata, handles)% hObject    handle to LEO_apogee (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction LEO_apogee_Callback(hObject, eventdata, handles)% hObject    handle to LEO_apogee (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of LEO_apogee as text%        str2double(get(hObject,'String')) returns contents of LEO_apogee as a double% --- Executes during object creation, after setting all properties.function LEO_Apogee_CreateFcn(hObject, eventdata, handles)% hObject    handle to LEO_Apogee (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction LEO_Apogee_Callback(hObject, eventdata, handles)% hObject    handle to LEO_Apogee (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of LEO_Apogee as text%        str2double(get(hObject,'String')) returns contents of LEO_Apogee as a double% --- Executes on button press in Show_GEO_Versus_LEO.function Show_GEO_Versus_LEO_Callback(hObject, eventdata, handles)% hObject    handle to Show_GEO_Versus_LEO (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)u=3.986013*10^5;
%========================================================
%LEO的轨迹是椭圆,GEO轨迹是圆
if(get(handles.LEO_Ellipse,'value')==1)
    %-------------------------------------------------------------
    %取参数

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -