Community Profile

photo

fadams18


Last seen: 3 months ago Active since 2018

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • Solver
  • Thankful Level 2

View badges

Content Feed

View by

Answered
How do i combine multiple cells into one
ok never mind figured it out final_cell=[cel_1; cell_2; cell_3]

3 months ago | 0

Question


How do i combine multiple cells into one
I have 3 cells each containting three 20x60 matrices cell_1 = { 20x60, 20x60 , 20x60 } ... cell_3= { 20x60, 20x60 , 20x60 } ...

3 months ago | 2 answers | 0

2

answers

Question


RMSE of 1 row of a matrix?
Hello Matlabers, I have this code i used to find the RMSE sensor=3 ; RMSE = zeros(sensor,30); RMSE(:,i) = vecnorm(F(:,1:se...

4 months ago | 1 answer | 0

1

answer

Question


make an r by m permutation matrix
I have the following code : A = eye(r); L = []; for i = 1:10 A = A(randperm(r),:); L = [L A]; % 10 x 100 matrix wit...

7 months ago | 0 answers | 0

0

answers

Question


How to verify SNR of a signal after using the awgn function
I just added 60db noise to my signal and i wish to verify if the added noise is correct. How do i check this? pw=60; Wthe...

9 months ago | 1 answer | 0

1

answer

Question


How can I use the MovieLens Dataset in matlab
I want to use the MovieLens dataset for my NMF algorithm for matrix completion. I have a function which i use to sample data in...

12 months ago | 0 answers | 0

0

answers

Question


how can i reshape an indexed vector
Hello, I have the following problem: Q % e.g. 300 x 300 matrix M % e.g. 300 x 300 matrix omega=find(Q); % omega becomes a 86...

12 months ago | 2 answers | 0

2

answers

Question


How can I add a 0db noise to my randomly generated data?
I simulated some random data and wish to add different db levels of noise to the data below n = 5000; m = 5000; r =5; Wt...

1 year ago | 1 answer | 0

1

answer

Question


dynamically name function output
I would like to to dynamically name fuction output based on some inputs Like: As my variable para.algo will be changing, is i...

1 year ago | 0 answers | 0

0

answers

Question


How can I randomly sample 10% and 20% pixels of an image
Hello guys I have an image of size 2,048×2,048 pixels, I would like to stack the 3 channels to get a matrix of size 6,144 ×...

1 year ago | 0 answers | 0

0

answers

Question


Randomly samplying a matrix
Im currently modifying an algorithm which randomly samples a given matrix by % Omega - set of observed entries. Should be li...

1 year ago | 0 answers | 0

0

answers

Question


Does running multiple instances of Matlab slow down algorithm?
I have 4 algorithms that i want to benchmark. and it takes time to run, and i dont want to run each of them seperatly, so i sta...

1 year ago | 0 answers | 0

0

answers

Question


What is this Matlab symbol '' | ''
Guys, could someone explain what this expression does. Ive never seen this expression before. Thank you. pGrad=gradX(gradX<0|X>...

1 year ago | 1 answer | 0

1

answer

Question


save all columns into a new variable in a loop
I have the following setup. Every time k changes i get new values of T. T is of size 1x1000, so i want to end the end have a 3...

1 year ago | 1 answer | 0

1

answer

Question


reconstruction Error of 2 colored images
I have an original image of dimension 300x300x3 (RGB) after removing some entries, I apply an algorithm to reconstuct the ori...

1 year ago | 0 answers | 0

0

answers

Question


Re-extract final images after vectorizing a set of images
I have 20 images each of which is 175 x 200. then i create a matrix X and unfold each image into it. so that X becomes a (175*20...

1 year ago | 0 answers | 0

0

answers

Question


Given a matrix A^n. Comparing normal multiplication versus Diagonalization. I expect the former to be faster but its not in my case
I have been learning diagonalization and SVD. I tried to show by code that doing A^n = A* A* A*......* n is slower than when we ...

1 year ago | 2 answers | 0

2

answers

Question


Error using sparse Index into matrix must be positive.
Im converting a code from python to Matlab % Python Code % ksq and old_dim are dimensions e.g. 5, or 10 C = np.arange(old_di...

1 year ago | 1 answer | 0

1

answer

Answered
Please teach me by explaining to me what this question is asking me to do!
Hello, It will be hard to find a Tutor dedicated to teach you. On here the community just helps you with your programming probl...

1 year ago | 1

Question


Find minimum of a 15x100 and return in a vector of 1x100. is this possible?
I have i=5 ; nu=150 ; for j =1:15 load(['output/GC/rank_', int2str(i), '/nu_',int2str(nu),'/NeNMF_GC_', int2str(j), '....

1 year ago | 1 answer | 0

1

answer

Question


Write several 1x101 vectors to table for Latex
I have 2 variable each of which are 1x101 size A = AS_V ; % AS_V is 1x101 B = NeNMF_V; % NeNMF_V is 1x101 T = table(A,B)...

1 year ago | 1 answer | 0

1

answer

Answered
Why do I receive the error message "The system cannot find the file specified"
It could be many possibilities Old files interfering with you previously installed Matlab Path of the installation. Check to s...

1 year ago | 0

| accepted

Question


legend has same colors
Its been asked many times but my code looks fine. I dont know whats making matlab show same colors on the legend figure(1), ...

1 year ago | 1 answer | 0

1

answer

Question


Create mask over image
I am trying to create mask over an image (input). I already used photoshop to create a mask (which is basiclly an image with sam...

1 year ago | 2 answers | 0

2

answers

Question


remove zeros from a 15x300 matrix and find the median
when I run the code below I get 15x301 matrix AS_V with some receding zeroes for i=1:15 load(['output/NeNMF_V_', int2str(...

1 year ago | 1 answer | 0

1

answer

Question


How do I make text color black when using the function insertText
Hello I created a white image using the code below. and then i inserted a text. but the text has yellow background. I dont know ...

1 year ago | 2 answers | 0

2

answers

Question


Apply mask to RGB image. If mask is RGB as well do i have to seperet the mask to its channels too?
Hello I want to apply this mask onto this RGB color to use in NMF ... function [ R, B,G ] = Split_Image( ) Input=...

1 year ago | 1 answer | 0

1

answer

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 years ago

Answered
check a condition once and remember it later in the code
So i modified @Adam's answer. I edited the two functions GC and RSI so that they both have same number of inputs if strcmp(op...

2 years ago | 0

Question


check a condition once and remember it later in the code
I want to check for an input at the beginning of my code. then when i enter a while loop i don't want to recheck this input, ...

2 years ago | 2 answers | 0

2

answers

Load more