Question

Graph not lining up with the function

Graph not automatically lining up with the function x. The t axis goes from -1 to 2 instead of -2 to 2 and the x axis goes from...

3 years ago | 0 answers | 0

Question

Plotting in 3d

I cannot put all of the plot into one window. How do I plot in 3D? v=3E8; f=760E12; x=zeros(400); y=zeros(400); ...

3 years ago | 1 answer | 0

Question

Zoomed out to a non-workable level

My screen in R2014b zoomed way out. How do you zoom in to a workable level?

3 years ago | 0 answers | 0

Question

Error in the determinant line

Error in detA line: syms Ex Ey Ez c Bx By Bz A=sym(zeros(4,4)); A=[0 -Ex/c -Ey/c -Ez/c; Ex/c 0 -Bz By; Ey/c Bz 0 -Bx;...

3 years ago | 0 answers | 0

Question

Set function not working.

I am having trouble with the "set" function Error in GUIfunction>Evaluate (line 101) set(Bn,'String',num2str(Bn1)); ...

4 years ago | 0 answers | 0

Question

Totally evaluate a result

I get a result from: disp(B1); 76533567789*cos(665434345667778/334545654433775)/65343456677 How do I get MATLAB to tota...

4 years ago | 1 answer | 0

Question

Make an iucontrol edit box into a number able to be done math on.

"lat" should be a double and should be able to be subtracted from 90. How do I make "lat" a double and able to be done math o...

4 years ago | 0 answers | 0

Question

Extending the maximum line length for Command Window display

Error: "Output truncated. Text exceeds maximum line length of 25,000 characters for Command Window display." Is there a easy w...

4 years ago | 1 answer | 0

Question

Transform a polynomial in syms to [1,2,3,4,5] and back to syms

How do I transform a polynomial in syms to [1,2,3,4,5] and back to syms?

4 years ago | 1 answer | 0

Answered

Entering a value for 'String'

I did that for both vi and angle. vi = str2double(get(hEdit, 'String'));

Entering a value for 'String'

I did that for both vi and angle. vi = str2double(get(hEdit, 'String'));

5 years ago | 0

Answered

Entering a value for 'String'

This is the error I get. I do use str2double to convert vi and angle. Error code: Undefined function 'mpower' for inp...

Entering a value for 'String'

This is the error I get. I do use str2double to convert vi and angle. Error code: Undefined function 'mpower' for inp...

5 years ago | 0

Question

Default location in matlab

In R2014b right now when I bring up MatLab the default location is: "C:\Users\User\Documents\MATLAB" I want to change it ...

5 years ago | 2 answers | 0

Question

Entering a value for 'String'

When 'String','' and enter the value in manually it works. When 'String','100' it does not. vi = uicontrol('Style','edit',...

5 years ago | 4 answers | 0

Question

Syntax a while loop

I am not sure I have the syntax right on my while loop: And I am taking the absolute value with the abs command. ...

5 years ago | 1 answer | 0

Question

Clean it up from successive calculation

I have an array and I want to clean it up from successive calculation: for i=1 for j=1:4 for k=1:4 ...

6 years ago | 1 answer | 0

Question

Viable format that would satisfy the requirements for transfering from Matlab to Excel.

I am dealing with a 4x4x4 matrix. It is easier to sent the results to Excel. I have the format as a "double" but Matlab does n...

6 years ago | 0 answers | 0

Question

Matrix number format not a double

I need to format not with a double : number * 2^(integer) but with a base 10 format : floatingpointnumber * 10^(integer...

6 years ago | 1 answer | 0

Question

Number format coming from syms into subs leading to Excel format

I have equations that use "syms" variables. After the equations are finished I want to add numbers to the final equations with ...

6 years ago | 1 answer | 0

Question

syms back to numbers

I am using syms to calculate equations with derivatives. I need to assign these syms number values to complete the analysis. ...

6 years ago | 1 answer | 1

Question

Undefined function or variable

Where am I going wrong with this function? function Analysis(src,evnt) f = figure('Visible','off','Position',[500 50...

6 years ago | 1 answer | 0

Question

Capture Excel Application in Matlab while opened on Desktop

Thre is an Excel Application already open on the Desktop. I want to capture it in MATLAB. Line exlFile = exlWkbk.Open([...

6 years ago | 1 answer | 0

Question

Compile with Visual C++

I am using MATLAB 7R14 with MATLAB Compilier 4.0. Want to compile in conjunction with Visual C++ 2008 Express using Excel O...

6 years ago | 1 answer | 0

Question

MatLab and C++ compiler together

I have just downloaded Visual C++ 2010. Could someone give me an overview on what I have to do to compile a MatLab ".m" file us...

6 years ago | 1 answer | 0

Question

Compile an m-file

How do you compile an m-file like a .exe file in Visual Basic so you can run it on any MatLab computer.

7 years ago | 1 answer | 0

Question

Block the Save popup box generated from Excel

In Excel I can block the Save popup box generated from "exlWkbk.Close" by adding this code to Excel: "Application.EnableEvent...

7 years ago | 0 answers | 0

Question

represent symbolic toolbox as a string

I am using the symbolic toolbox in Array1. How do you represent it as a string? syms r,theta,phi x=r*cos(theta)*cos(phi) ...

7 years ago | 1 answer | 0

Question

Print out to Excel

How do I print out to Excel? Where are my mistakes? exl = actxserver('excel.application'); exlWkbk = exl.Workbook...

7 years ago | 0 answers | 0

Question

Write a string of alphanumeric letters to an Excel spreadsheet

I am trying to write a string of alphanumeric letters to an Excel spreadsheet. This is what I have so far: exl = actxserve...

7 years ago | 0 answers | 0

Question

use the "subs" command to subsitute equations for a variable

Here is a silly question: is there a way to use the "subs" command to subsitute equations for a variable? eqn = 2*(2*x-1) +...

7 years ago | 1 answer | 0

Question

Simplify expression displayed in command window

How can r be simplified? r is used further down the program as a number. I just want r to be displayed as a number in the comm...

7 years ago | 1 answer | 1