Community Profile

Contact

Top 5% contributor

Assume we have X = [A, B] where A and B are two vectors (or matrices). Is concatenation operation copies elements in A? If so is...

2 Answers

0

Asked 3 years ago

What is the meaning of mex (where does it come from)? What is correct pronunciation? In particular the last letter is English 'x...

1 Answers

1

I would like to compute v(k) = A(k, :)* B(:, k) as fast as possible (no-loops). Currently, I am doing diag(A * B) but it h...

I have two figures with different plots. I would like to merge them into one figure that contains both plots and with keeping th...

Asked 4 years ago

Hi, I try to get the name of the caller function from the callee's side. Is it possible to do that in Matlab? For instance: fu...

3236 views

Posted 5 years ago

Hi, I am using the following code to visualize the image with legend: currImg = imread(imagePath); fig = figure('...

Asked 1 year ago

I often use 'keyboard' command to debug my programs (since sometimes I have to use command line and matlab -nodisplay setup). Wh...

Assume we have x = [1,2,3,1]; If I execute idx = find(x == 1) then idx == [1,4]. Is there similar command for extracting...

Hi, Let a be n-dimensional vector, B n-by-n dimensional matrix, f(a, b) - binary function that operates on two vectors, and r...

I have the following code: im = {}; k = 0 while not_end(): im = {im{:}, dir(filepath, fileArray(k))}; k = k + 1...

I have a figure which was produced by using errorbars command. It plots the mean data and corresponding error bars. Now I woul...

Let assume we have plot of some function (actually we have plot of the function-values at some sample points). Is it possible to...

Hi, Thanks, it is exactly what I meant. By the way do you know why Mathworks supports only private permission in folder struct...

1598 views

Responded 5 years ago

Hi, In Matlab we can use folders to gain permissions. For example @MyClass +private ---my_private_fun.m MyClass.m my_public_fun...

Hi, In my application it's quite useful to see FFT function as a matrix. Unfortunately, it seems Matlab's fft doesn't like to w...

1448 views

Nice solution, thanks for that.

1118 views

Hi, Is it possible to change binding of operators? More precisely, I overloaded mtimes operator however I would like that it ...

Let's assume we have the following format in the file: 1 str1 0 str2 1 str3 ... that is in each line we have: the first c...

Is it possible to recover from the Matlab Segmentation Fault error from the Matlab source code? More precisely I am talking a...

Let's assume I have a matrix x \in R[#features, #data] and matrix w \in R[#units, #features]. Currently I am computing max per u...

Asked 2 years ago

I have a bash script where I invoke the matlab compiler with some arguments, that is mcc ${MCC_ARGUMENTS}. Now I would like to ...

Hi, I have the following problem to solve: argmin_X |||| Xu - b ||||^2 where u and b are given (vectors), and |||| . |||| is l...

Hi, In startup.m in my home directory I use addpath to include additional libraries. Now I would like to compile some source ...

What is difference between adding (option -a) and including (option -I) folder to the working path during compilation (MCC)? ...

0 Answers

588 views