Community Profile

photo

covariant_cat


Last seen: 2 years ago Active since 2013

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


scientific notation in each element
Is it possible to display scientific notation independantly in each element of the matrix? Currently matlab has a global expone...

4 years ago | 1 answer | 0

1

answer

Question


importing a package is very slow
Say I have two packages: +pack1 -- func1.m -- func1_no_import.m +pack2 Pack1 contains the following code: ...

6 years ago | 0 answers | 1

0

answers

Question


How to avoid importing the same package name repeatedly in all functions in this package?
I have a package that contains n functions +mypackwithlongname +mypackwithlongname/f1.m +mypackwithlongname/f2.m ......

6 years ago | 1 answer | 4

1

answer

Question


How to run a default method if a class method is undefined?
Say I have a class called A. a=A(); b=A(); If we call foo123(a,5,b,6) and foo123 is not defined, there will be an err...

6 years ago | 1 answer | 0

1

answer

Question


Check gpuArray double or single?
I'm pretty sure a gpuArray has a type (e.g., single or double). But i'm not sure how to check it. The function isa does not w...

6 years ago | 1 answer | 1

1

answer

Question


Easily Reproducible GPU Bug in R2017a
There is a GPU bug in R2017a, which can be reproduced by the following simple code: p=gpuArray(single(randn(1,4,10,2359...

6 years ago | 1 answer | 0

1

answer

Question


How to initiate a linux (shell) command from matlab but not wait for the output?
I know I can use the function unix (or system), but it has to wait the script to return. The script actually will run for a long...

10 years ago | 1 answer | 1

1

answer

Question


dbstop if error: manually fixing the error and continue?
Hi all, Let's say I toggle on the dbstop if error. And the matlab automatically stops at the error, is it possible for me to ...

10 years ago | 3 answers | 1

3

answers

Question


waitforbuttonpress do not respond to keyboard
Hi all, I have a program that calls waitforbuttonpress very frequently. (about 4 times per second). After running it for some...

10 years ago | 1 answer | 0

1

answer

Question


Is it possible to have larger (than 16-by-16) pointer size?
Hi all, I'm designing a drawing program in matlab (just imagine a simplified Photoshop), where the paintbrush can have larger...

11 years ago | 2 answers | 0

2

answers