photo

Rub Ron


Last seen: 대략 1개월 전 2019년부터 활동

Followers: 0   Following: 0

통계학

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

배지 보기

Feeds

보기 기준

질문


is it possible to perform a nested Batch?
In this link, it is shown how parfor can be used inside a batch call (see figure bellow). Instead of using parfor, can I call mu...

대략 2개월 전 | 답변 수: 4 | 0

4

답변

질문


Use of cores and performance having multiple cores
I have a script my_script.m , within the script there is a function my_function(var), where var is a one dimention variable. I n...

2개월 전 | 답변 수: 1 | 0

1

답변

질문


Inverse input/output of switch case function
Say I have the following function: function [y] = my_func(x) switch x case 'name a' y = 'word i'; ...

1년 초과 전 | 답변 수: 3 | 0

3

답변

답변 있음
How do I use Latex formatting in graph node labels?
I have faced the same issue. This is a work around: % you may need this before executing the code set(groot,'DefaultTextInterp...

1년 초과 전 | 0

질문


plot legend that depicts different markes of nodes
I want to have a legend that label the markers present in my graph plot. G = graph([1 1], [2 3]); plot(G,'marker',[{'o'},{'x'}...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


parallelplot and latex interpreter
I am using parallelplot to generate some plots. However, when I used: set(gca,'TickLabelInterpreter','latex'); I get: Unreco...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Find returns empty with inconsistent size
I have a variable x, that is a vector with a variable number of elements. When applying the function find(x>0), for: find([-1...

대략 3년 전 | 답변 수: 2 | 0

2

답변

질문


Plot connected vertical points with different marks
I have a vector x=[ 1 2 3 4], and a matrix of size: 3x4. I want to plot something like this: Update: the number of vertical ...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


set order of elseif
Updated. I have this code structure inside a loop. x, y and z are 1/0 variables. In this case the order of the elseif stateme...

거의 4년 전 | 답변 수: 3 | 0

3

답변

질문


One/zero Matrix, merge subset of columns
Say I have this matrix of ones and zeros, 10x6: x= [ 0 0 0 1 0 0 0 1 1 1 1 1 0 1 1 0 1 1 0 0 0 0 ...

거의 4년 전 | 답변 수: 2 | 1

2

답변

질문


Boxplot inside a bar graph.
Say I have a bar graph with two groups, and 4 bars in each group: bar(rand(2,4)) I would ike to plot a boxplot (or else a bunc...

거의 4년 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to make a certain percentage of values in an existing matrix, between a set range of values. Probably easy but I am a newbie.
What about this: size=[25,10]; Score=randi([50,100],size); my_percentage = 10; my_piece = prod(size)...

대략 4년 전 | 0

| 수락됨

답변 있음
alternative to groupcounts function
I found this way. I hope someone can provide nicer way. Original: [xx,yy] = groupcounts(temp); Alternative: [xx0,yy] = find...

대략 4년 전 | 0

| 수락됨

질문


alternative to groupcounts function
I have made a script which I used groupcounts() function. The pc where the script is running is previous to 2019. So that fun...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


string cell array inside a graph
Say I have this: C = {'a';'b';'c';'d';'e'}; s = [1 1 2 3 1]; t = [2 2 3 4 4]; G = graph(s,t); G.Edges.Label = C; With...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


sscanf with cell array of strings
Say I have a cell array: C = {'2_5_7';'10_2_6';'4_3_7';'3_10_11';'3_16_11'}; To extract one row as a vector of number I was us...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


unique vector with restrictions
Say I have these vector: head_1=[1 6]; body_1=[1 4 5 6 8 9 15]; head_2=[7 9 13]; body_2=[5 7 8 9 13 20 30]; head_3=[20 ...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Making own android apps with Matlab pros and cons
I just learnt that is possible to make apps for android mobiles writing the “core” code in Matlab. I would like to know what sor...

4년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to turn a 1x32 array into a 1x1 array?
Perhpas this? Say v is your 188583x32 matrix: v = magic(5); v_final = join(sprintfc('%d',v),'');

4년 초과 전 | 1

| 수락됨

답변 있음
How can I set x-variable cutoffs using a script to include or exclude points
x = [40 ; 42; 43 ; 50; 52; 60; 70; 71 ; 73; 80]; y = [12 ; 3; 5 ; 20; 21; 26; 3; 10; 1; 15]; xy = [x y]; v = [0; diff(x)<3]';...

4년 초과 전 | 0

답변 있음
What frustrates you about MATLAB? #2
That the edges of a grah cannot be sorted.

4년 초과 전 | 0

답변 있음
Create new column in Table based on conditions
Cleared = {'yes';'no';'yes';'no';'yes'}; Price = [38;43;38;40;49]; Units = [71;69;64;67;64]; T = table(Cleared,Price,Units);...

4년 초과 전 | 0

| 수락됨

질문


K-th order neighbors in graph
I would like to do this, but in Matlab with a graph (it is not a directed graph): https://stackoverflow.com/questions/18393842/k...

4년 초과 전 | 답변 수: 4 | 0

4

답변

답변 있음
Acquiring corresponding Columns of Data when a condition is met
If I understood correctly, you are trying to obtain the values of the first column which has 'accepted' status. If so, try this:...

4년 초과 전 | 1

질문


Improve use of structure in function
I have the following lines: for x=1:800 for y=1:500 [mystruct(y).I] = ... inside...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


sortrows graph edges .
I have a graphs G. The G.Edges has 300 elements. I would like to sort the edges of my graph based on a given index (of size 300x...

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Exporting figure to image and being able to zoom in
Hello, I have placed multiple grids (grid: nodes connected by edges) in a single figure. With tool>restore view, each of the g...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Plot graph with different markers
Hello, I have a graph G lets say with 100 egdes and 40 nodes. The G.nodes are of 3 types stored in a vector type (40x1). How can...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


Issue with precision using days function
I have a varriable x (this x was generated by reading an excel file). Using variable explorer I can see: x=0.465277777777778. ...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


Position of the left nearest one value in a vector
I have a vector of ones and zeros of this form: v = [0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 0 0 0 0 1 0]; how can I get a vector with th...

대략 5년 전 | 답변 수: 3 | 0

3

답변

더 보기