Community Profile # Subhamoy Saha

Last seen: 6 days ago Active since 2018

#### Statistics

All
• • • • • • • • • #### Content Feed

View by

Question

How many timers can run parallely in MATLAB?
I have three different types of sensors connected to a single PC. I am using three different timers to read data from those sens...

1 year ago | 0 answers | 0

### 0

App UIAxes Zoom Control
As far I have understand, you are facing problem is the new plot appears in the axes limits for the previous zoom state. You ca...

1 year ago | 2

Fill areal between graphs
This may help you x = -pi:pi/10:pi; y=sin(x); y2=0.8*y; area(x,y,'Facecolor','r') hold on area(x,y2,'Facecolor',[1 1 1]) ...

1 year ago | 0

Drop Down Menu to GUI in Matlab. How to connect Drop Down menu to the Function and Callback
Please find below a sample. Hope you can work on that for other options. classdef app3_exported < matlab.apps.AppBase % ...

1 year ago | 0

How to plot graph from mat file?
clc; clear all; close all; s = load('lai3.mat'); x=s.lai3(:,1); % s is having a field named lai3 y=s.lai3(:,2); plot(x,y)

1 year ago | 1

| accepted

How to automating plot axis labels?
Use the following lines. xlabel(['day-', inputname(1)], 'Interpreter', 'none' ); ylabel(['cases-', inputname(2)], 'Interpreter...

1 year ago | 1

| accepted

converting string data to numbers
Oxygen = cellfun(@str2num, Oxygen, 'UniformOutput',false)

1 year ago | 0

Renaming Excel Files Using MATLAB Code
Change the file extension according to your need. datafolder=uigetdir(); % files=dir(datafolder); % if you don't have any ...

1 year ago | 0

Taylor Series of e^x
clear clc fprintf('Solving e^x using Taylor Series\n'); x=input('x = '); n=30; i=0; f=1; while i<=n last_term=(x.^i...

1 year ago | 0

| accepted

Why 0.35 divide 0.001 return double, and 0.34 divide 0.001 return int.
Not sure why it is showing like that but the case is both are double. a=0.351/.001 whos a b=0.352/.001 whos b

1 year ago | 0

clearing text filed in app when clicking in the text box
Numeric field needs a default number. It cannot be blank. As Mohammad Sami told, you can use the tooltip property to display hi...

1 year ago | 0

| accepted

installation problem with R2019b
Disable your antivirus and try again. Seems a network firewall blocking problem.

1 year ago | 0

I would like to change the massflowrate when the statement is correct, could you help?
The problem is with the line you are changing values of massflowrate. You are making it logical condition rather assigning it a ...

1 year ago | 0

| accepted

Water Tank input that changes based on volume.
Please check with the following clear, clc V0 = 50; %initial volume (m^3) c0 = 0; %initial concentration Qin = ...

1 year ago | 0

| accepted

Importing txt files and using loops
Here I have tested with your J94.txt file filename = 'C:\Users\Desktop\J94.txt'; %% change filepath accordingly delimiter = ' ...

1 year ago | 0

How to enter time if it is set to the following format
Use to get current time datestr(now,"HH:MM:SS")

1 year ago | 0

How can i load my c++ written dll ?
First ensure that you have C++ compiler installed and linked with MATLAB. If not, please refer to this link https://in.mathwor...

2 years ago | 0

Question

Legend for yyaxis at two different locations
I have a figure created with plotyy. I want to place legends near to their respective axes , i.e., at northeast for left y-axis ...

2 years ago | 1 answer | 0

### 1

Solved

Max of a Vector
Write a function to return the max of a vector

2 years ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

2 years ago

Solved

Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

2 years ago

Solved

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

2 years ago

Solved

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

2 years ago

Solved

Omit columns averages from a matrix
Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...

2 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2 years ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 years ago

Solved

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

2 years ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

2 years ago

Solved

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

2 years ago

Solved

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

2 years ago