Community Profile

photo

Syeda Amberin


Active since 2018

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


solve not returning two answers
Hi, I have a nonlinear equation that I need to sovle for 'x'. Following is my code: syms x q N q=.95; N=500; eqn = 2*log(...

4 years ago | 2 answers | 0

2

answers

Question


specify array with values
Hi, I am trying to set up an array of values with lower and upper bounds. The lower bound (lb) is .1 and the upper bound (ub)...

4 years ago | 1 answer | 0

1

answer

Question


Extract rows with a range of values
I have two tables. The first table (tab1) has column with ids. We call it ID. The second table (tab2) also has ids which is call...

5 years ago | 1 answer | 0

1

answer

Answered
Name a variable that includes the cell name from a cell vector
I figured a round about. s1='_a'; s=strcat(Events(1),s1); Producing: 'Nato_a' Thanks,

5 years ago | 0

Question


Name a variable that includes the cell name from a cell vector
Hi, I am trying to assign names to the tables I am creating. I have a 1 by 20 cell vector called "Events" with each cell contai...

5 years ago | 1 answer | 0

1

answer

Question


How to find corresponding values for one cell array in another?
Hi, I have two cell arrays, both have 688 cells with [18,1] entries. One cell array has values of stock price and the other has...

5 years ago | 0 answers | 0

0

answers

Question


My cell array has 861 rows and each row has vectors of varying sizes. I want to calculate std dev only for cells that have 20 elements. Others should give a value of 0. How do I tell cellfun to get only the cells with 20 elements. Here is my attempt
Stds=cellfun(@std ,ratios,'UniformOutput',false); % trying to calculate standard dev for cells for cell array 'ratios' that have...

6 years ago | 1 answer | 0

1

answer