Community Profile

photo

Andrew


Active since 2012

Statistics

  • First Review
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Question


saved pdf cuts off 3d text
Hello everyone, I have run into an odd problem with exporting a figure to a pdf file using the painters buffer. I am working...

8 years ago | 1 answer | 0

1

answer

Question


Run debug mode without gui
Hello everybody. I am trying to run the matlab debugger without a gui. I know all of the command line commands such as dbsto...

8 years ago | 1 answer | 0

1

answer

Question


Get indices from accumarray
All, in a previous question ( <http://www.mathworks.com/matlabcentral/answers/224858-best-way-to-deal-with-index-data-pairs-with...

8 years ago | 3 answers | 0

3

answers

Question


Best way to deal with index-data pairs with multiple data values per index
Hello, I have a large vector of index-data pairs that may contain multiple data values for any given index. The way this is ...

8 years ago | 3 answers | 0

3

answers

Question


What is the best way to create an n-dimensional colon operator?
Hello all, In an attempt to vectorize some code I am working on I have run into the following issue. I am attempting to crea...

8 years ago | 0 answers | 0

0

answers

Answered
Issue with parallel loop
All, With the help of Walter's answer I have figured out the correct way to create this parallel loop structure and will repo...

8 years ago | 0

| accepted

Question


Issue with parallel loop
Can somebody point out to me what is wrong with the following parallel structure, and/or tell me how to fix it. I keep getting ...

9 years ago | 4 answers | 0

4

answers

Question


Generate arrow keys in MATLAB gui
Hello all, I am trying to generate a gui that has 4 arrow key buttons (arranged as the usually are on a keyboard). I figured...

9 years ago | 1 answer | 0

1

answer

Question


fprintf not printing correct string
Hello everyone, I am trying to write a short script to make debugging some code easier but have encounter something strange....

9 years ago | 2 answers | 0

2

answers

Answered
Granting Access to other classes
If anyone else has this question, the problem is I am running MATLAB R2011a and this feature wasn't implemented until R2012a. ...

9 years ago | 0

| accepted

Answered
Open a non empty file, go to a specific row and column and edit(overwrite)
you could do something with textscan and strncmp for instance: fid = fopen('cylds.bc','r+'); %open file for reading and...

9 years ago | 0

Question


Using .' instead of ' for transpose
Hello, this is somewhat of a theory question. I am wondering why I frequently see .' instead of just ' when computing the tra...

9 years ago | 2 answers | 1

2

answers

Question


Granting Access to other classes
Hello everybody, I am teaching myself how to use object oriented programming with MATLAB and have a question about access. ...

9 years ago | 1 answer | 0

1

answer

Answered
inv Matrix must be square
Naema, what do you mean by inverse? If you want the element wise inverse such as 1/alpha_ij then you would use r=lo...

9 years ago | 1

Answered
how to plot substracted data
So from what I see it looks like you are trying to simply subtract one timestamp from the previous 1. In that case all you need...

9 years ago | 1

| accepted

Answered
how to generate a matrix from another matrix
Hello Naema. There is a really simple solution to this. All you have to do is use element operations by adding a dot. For i...

9 years ago | 0

Answered
codegen mex cannot find api.h
For those who may have a similar problem: The issue was that the path I was trying to compile the code in had spaces in some of...

10 years ago | 0

| accepted

Answered
Using a loop to create multiple variables
One thing you could do is use genvarname with a struct. for example d=0; while d<500 C.(genvarname([num2...

10 years ago | 0

Question


codegen mex cannot find api.h
Hello everyone. I am trying to use the codegen function to convert a large section of code into c. The codegen successfully ...

10 years ago | 1 answer | 0

1

answer

Answered
deteriming number of bytes in one line of binary file
For anyone else who may have this problem I believe I figured out a solution using try-catch statements. I realized that al...

10 years ago | 0

| accepted

Question


deteriming number of bytes in one line of binary file
Hello, I am working on translating some old fortran code into MATLAB and have run across the following issue. In the for...

10 years ago | 1 answer | 0

1

answer

Answered
Image "warp" function does not print image when figure is printed
For anyone else who may stumble upon this question. This was an issue with the size of the image and the graphics card in my co...

10 years ago | 0

| accepted

Question


Using very time dependent functions with ode suite in MATLAB
Hello everyone, I am trying to solve an ordinary differential equation that has a function in it that only activates when T=0...

10 years ago | 1 answer | 0

1

answer

Question


Using Logical Indexing with Matrices
Hello, I am currently working on something where I have a large number of three dimensional points (8.9e7 points) expressed ...

10 years ago | 1 answer | 0

1

answer

Question


Image "warp" function does not print image when figure is printed
Good morning everybody, I am currently trying to generate quite a few images of the moon from different angles with different...

10 years ago | 1 answer | 0

1

answer

Question


More efficient dot product function.
Hello, I am just wondering if anyone knows a more efficient function than the dot from MATLAB. I am running a very robust si...

10 years ago | 2 answers | 0

2

answers

Question


Storing Matrices of different sizes
Good morning everyone, I am working on a project where I sequentially run the same process with two different inputs through ...

10 years ago | 1 answer | 0

1

answer

Question


Error using ode45 : Error using ==> horzcat CAT arguments dimensions are not consistent.
Hello, I am trying to use ode45 to integrate the nondimensional circular restricted three body problem equations of motion. ...

11 years ago | 1 answer | 0

1

answer

Question


While loop not ending
Hello all, this is my first post on here so please forgive me if I do something wrong. I am working on homework for one of my...

12 years ago | 1 answer | 0

1

answer