社区简介

photo

Chetan Bhavsar


上次见到:7天前|Active since 2017

I want to Evolve myself

Programming Languages:
Python, C, MATLAB

Statistics

全部
  • 知识渊博等级4.
  • 感谢1级
  • MATLAB岑tral Treasure Hunt Finisher
  • First Answer
  • Speed Demon
  • CUP Challenge Master
  • 评论者
  • Promoter
  • 求解器

查看徽章

Content Feed

Answered
Increase time with for loop
You want like this or you want array? x=0; for i=1:16 x=x+0.5 end y={}; x=0; for i=1:16 x=x+0.5; y = [y x]...

17 days ago | 0

|公认

Answered
error in indexing mode
v = [1.0350 0.9710 0.9680] [numrows,numcols] =尺寸(v)n =尺寸(v)工作正常。你有一些其他查询,你能详细说明......

5 months ago | 0

Answered
如何加密.m源代码。
所以这里有一些来自帮助https://in.mathwork.com/help/matlab/matlab_prog/protect-your-source-code.html的链接您可以...

5 months ago | 0

Answered
How to Draw between specific points
The three points you want to draw is (6,20),(8,30),(10,40) ? or you want something else? x = [ 6 8 10 ]; y = [ 20 30 40 ]; p...

5 months ago | 0

Answered
在特定的顺序重新排列矩阵行
Matrix_A = [1 1 1;2 2 2;3 3 3 ; 4 4 4; 5 5 5; 6 6 6; 7 7 7] Inp = [2 3 4 5 1 6 7]; Output = Matrix_A(Inp,:)

5 months ago | 0

Answered
How to find pythagorean triangle's hypotenuse in a matrix?
a = [5 8 12 3; 8 12 63 20; 9 84 144 20; 24 11 15 180]; b = [12 6 5 4; 15 35 16 21; 40 13 17 99; 7 60 112 19]; c=[]; for i =1 ...

5 months ago | 0

|公认

Answered
细胞级联误差具有低于1及更高1的值的单元格
您可以使用char命令@christina huynh a = {'0.10297';'0.54312';'0.98275';'1.4219';'1.8605'};输出= char(a)和它...

6个月前|0.

Answered
按日期选择表数据
日期= [DateTime('今天');DateTime('昨天'); DateTime('明天')];数据= [-0.1;0; 0.1];t =表(日期,数据)findd ...

6个月前|0.

|公认

Answered
how to identify and read positive and negative data from excel?
[num data raw] = xlsread('Abb73at100.xlsx'); % get data in two columns col_1 = num(:,1); col_2 = num(:,2); % get negative in...

6个月前|0.

|公认

Answered
how to print first business dates between years using loops?
alldates = {};对于年= 2010:2020 = 1:12 andldates {end + 1} = datestr(fbusdate(年,月));结束v ...

6个月前|0.

|公认

Answered
Extract Data from .txt File
alltext = fileread('Datos_SSB_624_MHz_7_dB.txt'); % extract data between {"peakEvm": and }, allmatches = regexp(alltext,'(?<={...

6个月前|1

|公认

Answered
如何使用功能留下数字换档?
@Amy Joyce Valencia I think this will work for you function Output = MyShiftLeft(y,x) for j=1:x temp=y(1); % shift v...

6个月前|0.

|公认

Answered
Why isn't my matrix being filled?
@Coby Juarez它是因为你正在使用I S W的旧值,但你没有在循环中更新它们。请看下面...

6个月前|0.

Answered
调用Simulink模型时Matlab脚本“采样时间段”错误万博1manbetx
因为'test_lau / ines0'这个块采样时间(0.01)低于模型采样时间。它应该是固定步骤的倍数......

6个月前|1

|公认

Answered
comparing datetime objects between two tables.
date1 = datetime('today');date2 = DateTime('昨天');date3 = DateTime('明天');date4 = DateTime('明天');日期...

6个月前|0.

Answered
如何将值添加到已存在数组的特定值/特定位置?
@Goncalo Costa will this work for you? t = [1.5, 2.5 ,3.5, 4.5, 5.5 ,6.5, 7.5, 8.5, 9.5, 10.5] A = [3.5, 5.5, 7.5] x = 2 req...

6个月前|0.

Answered
Simulink SimulationOutput aaccess via Code
load_system('samplemodel');[t] = sim('samplemodel');t t.simout1 t.simout1.data.

6个月前|0.

Answered
Names of connected outputs to inports of selected subsystem
@ewelina cholodowicz我希望这将解决你的问题:)如果你陷入任何地方,请告诉我,或者任何点都不是......

6个月前|0.

|公认

Answered
我正在尝试制作一个零矩阵,其中某些地方被1替换为1
b=zeros(3,8); r = [1 1 3]; % row c = [1 8 4]; % column idx = sub2ind(size(b),r,c); b(idx) = 1; b

6个月前|0.

|公认

Answered
所需的数组取决于其他数组
ID_A = [];ID_B = [];ID_C = [];ID_D = []; ID_F = []; for x = 1:size(Scores,1) if OG(x)>90 ID_A(end+1) = ID(x); e...

6个月前|0.

|公认

Answered
Reading a text file, skip the intermediate text lines and store the numeric numbers
fid = fopen('abc.txt'); tline = fgetl(fid); storedData ={}; while ischar(tline) if isstrprop(strtrim(tline(1)),'digit') ...

6个月前|0.

|公认

Answered
Displaying unreal numbers in system of equations
SYMS K EQN =(981 - 250 *(k +(3 ^(1/2)* 5 ^(1/2)*(400 * k ^ 2 + 981)^(1/2))/ 50)^ 2)^(1/2)/ 20;SOL = VPASOLVE(EQN,K);sol1 = vpasolve(k ...

6个月前|0.

Answered
无法在我的报告中编辑表
Hello @Eric Aguado It was happening because you table ype was different. you need to create mlreportgen.dom.table caldataNew =...

6个月前|0.

|公认

Answered
帮助矩阵串联
@James Kamwela是你所期待的答案,请检查main = [1 2;3 4];Main = 1 2 3 4 Allmatr ...

6个月前|1

|公认

Answered
Add next and previous business date of each date in array row
@chiefjia will this work? % Create array EventsArray = [datetime('today') datetime('yesterday') datetime('tomorrow')] newArra...

7 months ago | 1

|公认

Question


如何获得最左边的块位置
我有一个Simul万博1manbetxink模型。我想在第一级找到最左边的位置块。

7 months ago | 1 answer | 0

1

answer

Answered
什么应该进入下一代matlab x?
An option to Show Inport name to left side instead of below. and Outport name to right side instead of below. To avoid this we...

7 months ago | 0

Answered
如何从Matlab脚本设置块的最近位置?万博1manbetx
@Ewelina Cholodowicz I hope this will help you For doing this you need to extract position of ports (both inport and outport) ...

7 months ago | 0

|公认

Answered
hey. I keep getting an error for this code. If anyone could help me it would be greatly appreciated.
It was because value of (1+lim(gs)) was a=(1+lim(gs)) a = [55/54, 11/9] clear; clc; a = [1,12]; ...

7 months ago | 0

|公认

Load more