Community Profile

# Jay

Last seen: quasi 2 anni fa Attivo dal 2014

Programming Languages:
MATLAB
Spoken Languages:
English

#### Content Feed

Visto da

Domanda

Symbiological output using 'syms' and 'pretty' commands
Hi all, I am having issues outputting the factored polynomial using the below commands using MatLab 2021b (academic license)...

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Risposto
Row Number Returned During Iterations
I just realized that. Too many hours coding. Thank you.

oltre 4 anni fa | 0

Domanda

Row Number Returned During Iterations
I have an if statement that goes through all rows looking for a specific condtion. When the condtion is met, I want to know ...

oltre 4 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Grouping Variables using rowfun Function Rearranging Order to Alphabetical
How does one keep the original sequencing of variables used for matching in the rowfun? % Guillaume's Code from Prior Question ...

oltre 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

String Matching in an If Statement
If I want to compare strings (2 tables) sequentially in an if statement, what command caters for this? A logical array won't ...

oltre 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

If Statement Using Text in a Table
What commands can I use in the following if statement to specify blank element overwrite? % Run throught the table of 10 rows...

oltre 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Sort Through Cell And Put Corresponding Values In Their Respective Rows
Using the following code sample I desire the following: I would like to first have the subroutine look through the first column...

oltre 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to use the sum command to get both the sum and output in the same array
Using the following code as an example, I would like to get the sum of each row (columns 1:3) and output the rows summation in t...

oltre 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

degrees2dms Syntax
I have the following test code with an error thrown when trying to populate array C using the degrees2dms function: % Arr...

oltre 4 anni fa | 3 risposte | 0

### 3

risposte

Domanda

How to Delete Arrays?
How does one delete arrays (completely) once they have served their specific purpose (saving memory & decluttering the written p...

oltre 4 anni fa | 2 risposte | 0

### 2

risposte

Risposto
Using the dms2degree Command Sequentially to Populate an Array using a Sub-routine
What does one do when the dms values exceed a n x 3 matrix? Example: A = [180 342 350 121 125 179; 0 54 41 16 23 59; 3 49 18...

oltre 4 anni fa | 0

Domanda

Using the dms2degree Command Sequentially to Populate an Array using a Sub-routine
How to I use the dms2degree (mapping toolbox) command for array elements using a for statement? Eg. n=6 A = [180 342 350 121 ...

oltre 4 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Can't Remove Rows
I am trying to remove rows using the following code. % Hypothetical read in from an excel spreadsheet % 20 rows of values an...

oltre 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

What Is A Scalar String?
Can someone please tell me what is meant by "scalar string object"? I am finding it difficult to understand how a string can be...

oltre 4 anni fa | 0 risposte | 0

### 0

risposte

Risposto
Convert Values From Cell Elements to String Elements for Complete Array
Hi Walter, The "raw" array now has all alphabetical names as type text (" "). Is there a command that does the same for nu...

oltre 4 anni fa | 0

Domanda

Convert Values From Cell Elements to String Elements for Complete Array
Hi Guys, BACKGROUND: I have used the code: [num,text,raw] = xlsread ('TestFile.xlsx') to read in an Excel spreadsheet. ...

oltre 4 anni fa | 2 risposte | 0

### 2

risposte

Domanda

How to call a function - with explanations
I have viewed the MATLAB documentation and I am still confused. I am attempting to use the convdegminssecs.m from <...

circa 5 anni fa | 1 risposta | 0

### 1

risposta

Domanda

MatLab Subroutine Capabilities for Calculations
I would like to create a program and would like to know if MatLab can be programmed to do what I require. If so, what is the ...

oltre 5 anni fa | 1 risposta | 0

### 1

risposta

Risposto
Text Not Showing On Plot
Thankyou Star and Jan, The text was indeed outside of the window space.

quasi 6 anni fa | 0

Domanda

Text Not Showing On Plot
I am trying to have the text show on one of my points on the plot. When I use the command text(x(1),y(1),'Mark 1') T...

quasi 6 anni fa | 3 risposte | 0

### 3

risposte

Domanda

Methods to fix values to two decimals
Does anyone know the most efficient way to fix values to two significant figures? I am trying to proof a calculations which i...

circa 6 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Can Matlab read an xls with multiple list values
I would like my future Matlab program to read in a xls spreadsheet where some of the values have been selected from a list in sa...

oltre 6 anni fa | 1 risposta | 0

### 1

risposta

Risposto
How can I set the arrays dimensions?
Thanks guys, I was hoping for a way to fix the dimensions but it is what it is.

circa 7 anni fa | 1

Domanda

How can I set the arrays dimensions?
How do I set the dimensions of an array so that it wont change? i.e. rather than stating a vector being a 3 x 1 of zeros usin...

circa 7 anni fa | 3 risposte | 0

### 3

risposte

Domanda

Help writing a function
Can someone please help on how to write the following function please. I have 3 3x3 Rotation Matrices. 2 of which are Iden...

circa 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Why is this if statement not working?
for i=1:10 if Li_m_full10(i,1)*10^6 ~= Ri_m_full10(i,1)*10^6 % error error_1 = sprintf( 'Difference In X Coo...

circa 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Display iteration value amongst other preset text.
I have a section of code that I want to use that should specify the iteration number amongst it whilst running an if statement. ...

circa 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Way to add ' ; ' to blocks of code at once
Is there a way to remove the output of blocks of code at once similar to highlighting the code and selecting the comment or unco...

circa 7 anni fa | 1 risposta | 0

### 1

risposta

Risposto
How to Specify Symbolic Variable Using Symbolic Toolbox
I found one issue so far. I have downloaded the trial version and installed it but don't know how to activate it.

circa 7 anni fa | 0

Domanda

How to Specify Symbolic Variable Using Symbolic Toolbox
I have just downloaded the Symbolic Toolbox. I am trying to specify the variable theta_1 as a symbolic variable. ...

circa 7 anni fa | 2 risposte | 1

risposte