Community Profile

photo

owr


Welton Investment Partners

Attivo dal 2011

Statistiche

All
  • Knowledgeable Level 3
  • First Review
  • 6 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Content Feed

Visto da

Risposto
Excel Date column Plot in Matlab
look up datenum and datetick

circa 11 anni fa | 0

Risposto
every second label is showed in corr.matrix only, why?
You set the labels, but not the ticks themselves. Try something like this: set(gca, 'XTick',1:19); set(gca,'XTickLabel'...

circa 11 anni fa | 0

Domanda


Setting the figure "Tag" property for a waitbar
Hi folks, Hoping one of you has an easy solution for me. Skipping over the non-relevant details, Im trying to add a tag to a ...

circa 11 anni fa | 1 risposta | 1

1

risposta

Risposto
how to read the Sheet name present in any Excel file ?
"xlsfinfo" will get you a list of sheet names.

circa 11 anni fa | 6

| accettato

Risposto
a question regarding the format of dates
If I were in your situation, I would try and do the formatting in Excel first and get all dates uniform before importing into MA...

circa 11 anni fa | 0

Risposto
Why I got complex answer while I know it should be real????
My guess, and this may be a long shot, is that somewhere along the way you took the sqrt of -1.

circa 11 anni fa | 0

| accettato

Risposto
limited number of Assets in a universe, with constraints.
As stated, that's a very difficult problem. There are roughly 9e93 different ways to select a subset of 50 assets from a univers...

circa 11 anni fa | 0

Risposto
Make dataset arrays part of base MATLAB?
I agree 100% and have advocated for this since they were first released in 2007-2008(?) The difference between dataset object...

circa 11 anni fa | 1

| accettato

Risposto
For stand-alone exe, how do I include a folder of files and know how to access them.
When you concatenate strings using "[...]" the way you wrote above you are missing the "\" between the file name and path (on Wi...

circa 11 anni fa | 0

Risposto
Xtick in timeseries Plot
This may not be the cleanest solution, but it should work well enough, or give you some ideas at least. 1) Draw your graph ...

circa 11 anni fa | 0

| accettato

Risposto
How to fit histogram data with normfit using signed X-axis ?
You should be calling normfit on the raw data vector itself, not your pdf approx: [mu , sigma, blah...] = normfit(Vx)

circa 11 anni fa | 1

Risposto
How send Matlab (.mat file) output to a webpage
Last I checked (2 years ago), you can compile a call to the Neural Network Toolbox "sim" function. You cant compile any type of ...

circa 11 anni fa | 0

Risposto
image/imagesc scaling colors to a specific range
Ok - I think I have an answer to my own question. This seems to be doing the trick: c1 = 2*rand(5,5); c2 = 2*rand(5,5...

oltre 11 anni fa | 3

| accettato

Domanda


image/imagesc scaling colors to a specific range
Hi folks, Im hoping some of you image processing gurus know how to do this with little effort. I have 2 matrices with simi...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Risposto
""variable name" was previously used as a variable" error message
The problem is in your call to "quadl", you dont need the "@" sign. NC is a function handle, not a function, so you dont need th...

oltre 11 anni fa | 1

Risposto
Creating a subset of a dataset array based on values in one of the variables
Similar to per isakson's suggestion, but with proper indexing on the "Hospital" column: >> subset = your_ds_array( strcmp( ...

oltre 11 anni fa | 1

| accettato

Risposto
How to graphing a 3D surface when the X,Y,Z are known
I typically use 3 2-dimensional matrices - one for each coordinate (t,T,Y) - each position corresponds to a combination of a t a...

oltre 11 anni fa | 0

Risposto
Matlab publish command use cases
I use it every afternoon to update research reports based on new data that are referenced by my colleagues. I publish to html an...

oltre 11 anni fa | 1

Risposto
Imported Excel strings are not functioning correctly in matlab 2012b
Just a guess, but "names" is probably a cell array, so names(1,1) and names(1,2) are 1x1 cell arrays. You need to get access to ...

oltre 11 anni fa | 0

Risposto
Dynamic ranges using xlswrite
You can do this by dynamically creating the character string that you send to xlswrite to specify xl range. Something like th...

oltre 11 anni fa | 4

| accettato

Risposto
How to use the value of a variable as a variable?
You could use a structure and define fields indirectly using the current value of "A": >> A = 'BC' A = BC ...

oltre 11 anni fa | 1

| accettato

Risposto
How to run multiple instances of MCR
I built something in the past as a test that was able to do this - if I recall it wasnt too difficult (and Im not very proficien...

oltre 11 anni fa | 0

Risposto
Combine rand function with exponential cdf
Search in the Statistics Toolbox Documentation for "Inversion Methods"(You can look online if you dont have access to the Toolbo...

oltre 11 anni fa | 0

Risposto
Replace NaNs with previous values
I do this all the time, my code uses for loops, but I dont see anything wrong with for loops. Im sure there are more elegent sol...

oltre 11 anni fa | 0

Risposto
Could someone help me import data from a .csv file?
If you have the Statistics Toolbox,try: ds = dataset('File','summary.csv','Delimiter',','); The fact that you have mixe...

oltre 11 anni fa | 0

| accettato

Risposto
Why doesn't this program work?
The only row vector vs. column vector issues I see here (I ran the code) is between "rpm" and "count". rpm is defined to be a...

oltre 11 anni fa | 0

Risposto
Where can I find code that is written to plot functions better than the built-in MATLAB plotting functions?
Ive been creating alot of ppt presentations lately with snapshots of figures from MATLAB. To facilitate this, I created a short ...

oltre 11 anni fa | 0

Risposto
Pointer to MATLAB function?
Do a search in the docs on function handles. They should do the trick.

oltre 11 anni fa | 0

Risposto
Trouble w/ MLGetVar and MLGetMatrix using Dataset arrays
I highly doubt that MlGetVar/Matrix support dataset arrays which are in the Statistics Toolbox. It would be nice if they did, ev...

oltre 11 anni fa | 0

| accettato

Risposto
How do I let users read files (new data) into deployed compiled code?
Let them browse for it with some sort of UI. You can use functions like "uigetfile" to get the file name and path.

quasi 12 anni fa | 0

| accettato

Carica altro