photo

RDG


Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

MATLAB Answers

45 Domande
1 Risposta

RANK
8.027
of 300.364

REPUTAZIONE
5

CONTRIBUTI
45 Domande
1 Risposta

ACCETTAZIONE DELLE RISPOSTE
84.44%

VOTI RICEVUTI
6

RANK
 of 20.934

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 168.407

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Thankful Level 4
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


Distance Between Characters in String
Thank you for your help in advance. Suppose I have two strings namely, Source and Target, Source: abcde Target: hello ...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How to sortvalues in a variable based on another variable
Suppose, I have 2 cell variables: A{1}= 46 25 35 25 22 1 11 1 22 1 11 1 46 25 35 25 B{1}= 3 4 5 6 3 ...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Sorting Cell Array Elements in Multiple Columns
Suppose I have a cell variable A{1} with contents as follow: A{1}= 1 100 0 [6,7,8,9,10,11,12] 2 110 0 [6,7,8,9,10,11,12] ...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


How to Find Column Duplicates
Suppose: A{1}= 2 3 1 2 2 1 1 3 2 3 2 4 2 5 2 5 2 6 2 6 2 2 5 2 How can I find the duplicate value and ...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Switch Case when a value stagnates
Suppose I have a switch case scenario and a variable, _var_ which records a value from a for-loop as such: 1st loop: var=10...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Removing values from a variable.
I need some help. I can't seem to get the result for the following:- Suppose, I have the following cell array: A{1}=[1 ...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Finding Indices of Duplicate Values
Suppose, I have a variable, a{1}=[ 2 2 1 3 5 2 1 1 5 2 1 4 5 2 1 2 1 1 2 1 2 2 2 1 1 1 3 4 1 1 3 3 ...

quasi 12 anni fa | 3 risposte | 2

3

risposte

Domanda


Subtraction for Matrix of Different Length
x=[19 6 7; 45 9 11; 1 4 3; 9 7 6; 4 3 7; 44 1 7]; y=[1 4 3; 9 7 6]; How can I compute x-y? The remains would be: ...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Deleting empty variables from cell variables with respect to rows.
Suppose, I have this code excerpt: clc, clear, close all; A{1}=[1,4,1,6,130,30,4;1,6,3,6,130,30,4;1,6,2,1,130,30,4...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Concatenate More than 2 Variables
Can Matlab handle concatenation of more than 2 variables? eg. A{1}=[1 2 3] A{2}=[4 5 6] I understand that C=vertca...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Error in Indexing & Matrix Dimension
I have the following code excerpt and I've been debugging for days. When I tried with a smaller scale (5 variables), it's alrigh...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Replacing values for matrices of different dimension
Suppose, A= [15 1 4 2 65 15 2 4 6 65 17 6 5 2 65 24 5 3 1 55 24 5 5 3 55 25 2 1 1 55 ...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


~ismember does not work on my matrix
A=[1 1 5 6; 2 2 1 5; 3 1 4 2; 4 4 2 1; 5 6 2 1;] B=[1 1 1; %remain 1 4 2; 1 5 6; ...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Indices to zeros in Matrix
Suppose: A = 4 5 1 3 5 1 3 4 5 0 0 0 6 0 0 ...

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Adding zeros to an array
Suppose I have 2 arrays: A=[1 2 3 4; 2 3 4 5; 3 4 5 6]; B=[5 1 3; 1 3 4]; How can I append zeros ...

circa 12 anni fa | 1 risposta | 1

1

risposta

Domanda


Substituting values to/from a cell array
Suppose I have 2 cell array: a={4 *1 3* 5; 5 *5 1* 4} b={*5* *1* 3; *1 3* 4} How can I substitute the values in cel...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Separating values in cell arrays
Suppose, I have a cell array as follow: a{1}=[2 3] I would like to separate the values into two distinct values but at t...

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Subtracting 2 matrices of different dimensions
a{1}=[1 3 4 5; 3 3 4 5; 5 5 4 5 2 4 2 6; 6 5 2 6 7 2 3 1;] [b,idx]=unique(...

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


setdiff with respect to column values
Suppose I have: *A ={1 1 1 1 1 3 1 1 4 1 1 1 1 2 1 1 2 3 1 2 4}; B=...

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


Contiguous Number Checking and Verification
Suppose, I have a variable, a. a={ 18 5 1 3 14 2 1 2 4 2 5 9 ...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Retrieving Rows based on Multiple Columns
Suppose, var1=[ 1 1 3 4 5 2 14 15 16 17]; var2= { 1 5 6 7 3 7 6 5 ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Retrieving Rows based on Columns
Suppose, % double var1=[ 1 1 2 4 5 2 14 15 16 17]; % cell var2={ 1 5 6 7 ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


For-Loop Alternative for Faster Code Execution
Suppose, a{1}=[1 6; 1 9; 1 8; 3 7; 3 0; 4 0; 5 0; 5 0; ...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Unique Values based on 2 Variables
This is a little complicated for me to explain, but I'll try my best. Suppose I have 2 variables, *var1* and *var2*. var1=[...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Sum of Cell Array [Besides for loop]
I'm having difficulty trying to solve this problem. Suppose: testvalue = {[1] [] [] [1] [1] [...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


The function "nchoosek" is not working in my code
I'm currently having a problem. Suppose I've a code as such: %2 cell arrays named cnt with contents as follow:% cnt{...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Summation of values > 1 in a cell array
Suppose I've a cell array; cnt{1}=[3;1;3;2;1;2] I would like to sum up the values which are > 1 ie the answer should ret...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Unique Function based on 2 columns [Instead of rows]
Suppose, I have a cell array, a, with contents as such: a{1}=[1 3 4 5; 3 3 4 5; 5 5 4 5 2 4 2 6;...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Unique Function based on 2 columns [Instead of rows]
Suppose, I have a cell array, a, with contents as such: a{1}=[1 3 4 5; 3 3 4 5; 5 5 4 5 2 4 2 6;...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Risposto
Reading multiple text file and saving in corresponding excel format after removing headers.
Why don't you try to search for xlsread on the matlab help section. You will find many examples. You can even specify the range ...

oltre 12 anni fa | 0

Carica altro